IContiguousSerialElement

Interface IContiguousSerialElement provides access to a single serial element recorded in a ReadOnlyBuffer which represents a contiguous buffer in memory.

A contiguous serial element must be explicitly closed, even if exceptions have been thrown by the LSS. It is an error to close the LSS before the closing all the contiguous serial elements that have been opened for reading.


struct IContiguousSerialElement
{
    virtual void Close() = 0;
    virtual ReadOnlyBuffer GetBuffer() const = 0;
};