[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Peeking and unreading
- From: Jorge <xxopxe@...>
- Date: Sun, 17 Jul 2016 14:49:19 -0300
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().