Table of Contents

Interface ISegmentReader

Namespace
Tlabs.Misc
Assembly
Tlabs.Core.dll

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

buf Memory<byte>

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)