[FFI] moving large memory

Alan Grimes agrimes at speakeasy.net
Wed May 17 00:21:19 UTC 2006


nicolas cellier wrote:
> I want to transfer some memory between an ExternalAdress holding an array of 
> anything and Smalltalk memory (ByteArray for example).
> 
> I did figure well how to do it element by element, but didn't find anything 
> really efficient as a memcopy for example...
> 
> Does anyone have a clue, a package, a howto or something for me?
> Thanks

Common practice is to use BitBlt from the graphics system. I don't like
that solution for obvious reasons but I'm sure you can find some example
code...

-- 
Don't let your schoolwork get in the way of your learning.

### NEW E-MAIL: agrimes at speakeasy.net ###



More information about the Squeak-dev mailing list