Esempio n. 1
0
        public LineParser(Encoding encoding, UInt32 lineBufferInitialCapacity)
        {
            this.encoding = encoding;

            this.buffer = new ByteArrayReference(lineBufferInitialCapacity);

            this.nextStartOfLineOffset = 0;
            this.nextIndexToCheck      = 0;
            this.dataOffsetLimit       = 0;
        }
Esempio n. 2
0
 public OffsetLineParser(ByteArrayReference buffer)
 {
     this.buffer        = buffer;
     this.count         = 0;
     this.nextLineStart = 0;
 }