Re: Question about STRINGs...

Daniel F Moisset <[email protected]> Tue, 31 May 2005 09:51:04 -0300
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Organization Except
Message-ID <[email protected]>
On Tue, 2005-05-31 at 16:46 +1000, Phil Malin wrote:
> Hi there.

> or something so one can copy some arbitrary data pointed to by 'ptr'
> in an efficient way (by having it use bcopy/memcpy/etc.)?

I use NATIVE_ARRAY[CHARACTER] for that.

Other possibility is allocating space into the STRING, and passing its
pointer (to_external) to the C routines that do the reading (fread,
memcpy, etc)


	D.