logo       

Re: Re: binary streams, how to: msg#00124

lang.smalltalk.squeak.beginners

Subject: Re: Re: binary streams, how to

Thanks.

Klaus D. Witzel píše v Po 23. 10. 2006 v 07:15 +0200:
> Hi Petr,
>
> on Mon, 23 Oct 2006 00:02:28 +0200, you wrote:
> > Hi,
> >
> > which methods shall I use for binary (fast) reads/writes to file
> > (stream)?
> > I need to write Boolean (1byte), Integers (4 or 8 bytes), Floats (?) and
> > Strings into big files, but standard way via storeOn: (text
> > representation) is inefficient for me.
>
> You may want to look into the #'data get/put' messages category of
> PositionableStream, implementors of #int32: then alt-B
>
> /Klaus
>
> > Thanks, pf
>
>
> _______________________________________________
> Beginners mailing list
> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise