예제 #1
0
 public ServerHelloAlpnAdderStream(CustomBufferedStream stream)
 {
     this.stream = stream;
 }
예제 #2
0
 public ClientHelloAlpnAdderStream(CustomBufferedStream stream)
 {
     this.stream = stream;
 }
 public Task <string> ReadLineAsync(CancellationToken cancellationToken = default(CancellationToken))
 {
     return(CustomBufferedStream.ReadLineInternalAsync(this, bufferPool, cancellationToken));
 }
 internal CustomBufferedPeekStream(CustomBufferedStream baseStream, int startPosition = 0)
 {
     this.baseStream = baseStream;
     Position        = startPosition;
 }