[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: manipulating buffers in Lua
- From: Steve Dekorte <steve@...>
- Date: Mon, 26 Oct 1998 11:39:54 -0800
erik@hougaard.com (Erik Hougaard) wrote:
> What kind of memory buffers? ... I'm using tons O' buffers via the
> userdata data type (and the tag system)
lhf@tecgraf.puc-rio.br wrote:
> also, remember that strings in lua 3.1 can contain arbitrary data, including
> embbeded zeros, and so are better described as byte arrays or memory buffers.
I need to read binary files and then read, manipulate and save parts of it.
I can do this with strings? Currently, when I write a string to a file
using Lua the resulting file is ASCII, not binary.
Steve