lua-users home
lua-l archive

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


>From: erik@hougaard.com (Erik Hougaard)
>
>Steve Dekorte wrote:
>> 
>> Is there a reason that Lua has no APIs for manipulating memory buffers?
>> It's not hard to add, just curious about why it's not in there.
>> 
>> Steve
>
>What kind of memory buffers? ... I'm using tons O' buffers via the
>userdata data type (and the tag system)

right.
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.
--lhf