Interface ISegmentReader
Buffer segment reader interface
public interface ISegmentReader : IDisposable
- Inherited Members
- Extension Methods
Remarks
Implementations of this interface are used with SegmentSequenceBuffer to expand the buffer.
Methods
Read(Memory<byte>)
Read next data segment into buf
int Read(Memory<byte> buf)
Parameters
Returns
- int
Number of bytes read into
buf
.
Remarks
Reading less than Length bytes indicates that the end of data has reached (and no more data can be expected)