realbasic-plugins
[Top] [All Lists]

Re: Writing binary data quickly to a string?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Writing binary data quickly to a string?
From: "Theodore H.Smith" <delete at elfdata dot com>
Date: Tue, 5 Apr 2005 21:50:39 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <3b3f5347d9b98e573b5be4d7030d5b80 at elfdata dot com>
        
On 5 Apr 2005, at 21:48, Theodore H. Smith wrote:

How can you write binary data, quickly, into a string?

Oh yes, the same problem happens when READing the binary data. In this situation, the only solution for speed is to copy the entire thing over to a memoryblock. Really not fun.

Even if a plugin could read the binary data directly from the string, it would still have unaligned reads. So whatever happens, we'd have to copy the data.

I think that's a bit pointless really.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>