Re: D2 byChunk

2010-12-11 Thread Matthias Walter
On 12/11/2010 01:00 AM, Christopher Nicholson-Sauls wrote: > On 12/10/10 22:36, Matthias Walter wrote: >> On 12/10/2010 09:57 PM, Matthias Walter wrote: >>> Hi all, >>> >>> I currently work on a parser for some file format. I wanted to use the >>> std.stdio.ByChunk Range to read from a file and e

Re: D2 byChunk

2010-12-10 Thread Christopher Nicholson-Sauls
On 12/10/10 22:36, Matthias Walter wrote: > On 12/10/2010 09:57 PM, Matthias Walter wrote: >> Hi all, >> >> I currently work on a parser for some file format. I wanted to use the >> std.stdio.ByChunk Range to read from a file and extract tokens from the >> chunks. Obviously it can happen that the c

Re: D2 byChunk

2010-12-10 Thread Matthias Walter
On 12/10/2010 09:57 PM, Matthias Walter wrote: > Hi all, > > I currently work on a parser for some file format. I wanted to use the > std.stdio.ByChunk Range to read from a file and extract tokens from the > chunks. Obviously it can happen that the current chunk ends before a > token can be extract

D2 byChunk

2010-12-10 Thread Matthias Walter
Hi all, I currently work on a parser for some file format. I wanted to use the std.stdio.ByChunk Range to read from a file and extract tokens from the chunks. Obviously it can happen that the current chunk ends before a token can be extracted, in which case I can ask for the next chunk from the Ra