示例#1
0
 public BytesPipe(IBytesPool bytesPool)
 {
     _state  = new BytesState(bytesPool);
     _reader = new BytesReader(_state);
     _writer = new BytesWriter(_state);
 }
示例#2
0
 internal BytesWriter(BytesState bufferState)
 {
     _bufferState = bufferState;
 }
示例#3
0
 internal BytesReader(BytesState state)
 {
     _state = state;
 }