lua-users home
lua-l archive

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


Do you think that property is by chance, or it's some pattern? Ideas for easy framing of messages in streams are always welcome...

Jorge

On 17/07/16 05:57, Dirk Laurie wrote:
It has dawned on me that the specific format I need it for has lines starting with a number, and if you know that number you know whether the group is done, so I only need to buffer the number if I use file:read'n' before file:read().