public BytesPipe(IBytesPool bytesPool) { _state = new BytesState(bytesPool); _reader = new BytesReader(_state); _writer = new BytesWriter(_state); }
internal BytesWriter(BytesState bufferState) { _bufferState = bufferState; }
internal BytesReader(BytesState state) { _state = state; }