Beispiel #1
0
 public CheckedReader(ISizedBuffer buffer)
     : base(buffer)
 {
     _byteCapacity = buffer.ByteCapacity;
 }
 public CheckedDisposableReader(ISizedBuffer buffer) : base(buffer)
 {
     _disposable = buffer as IDisposable;
 }
Beispiel #3
0
 public CheckedReader(ISizedBuffer buffer)
     : this(buffer, buffer?.ByteCapacity ?? 0)
 {
 }