lua-users home
lua-l archive

Re: io.format (was: Reported to the Bloat Police: string.pack, .unpack and .packsize!)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Luiz Henrique de Figueiredo once stated:
> > But there's always serialization to disk. No external library needed to
> > write to disk.
> 
> An external library is needed if you want to write binary data, such as
> numbers in their native format.
 Um ... can't string.pack() return a number in its native format as a
string (a binary blob)? And doesn't io.open() support the "b" mode? 
Because it passes it directly to C's fopen()? 
 -spc (Am I missing something?)

AltStyle によって変換されたページ (->オリジナル) /