[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io.format (was: Reported to the Bloat Police: string.pack, .unpack and .packsize!)
- From: Sean Conner <sean@...>
- Date: Sat, 22 Aug 2015 16:40:30 -0400
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?)