public Context(TextLineDecoder textLineDecoder) { _textLineDecoder = textLineDecoder; _buf = IoBuffer.Allocate(_textLineDecoder.BufferLength); _buf.AutoExpand = true; }
public TextLineCodecFactory(Encoding encoding, LineDelimiter encodingDelimiter, LineDelimiter decodingDelimiter) { _encoder = new TextLineEncoder(encoding, encodingDelimiter); _decoder = new TextLineDecoder(encoding, decodingDelimiter); }