IBytePosition

Description

interface Tinman.Core.IO.IBytePosition

Extended by

IProtonizer
ISerializer

Base interface for binary data stream implementations that can tell their current byte position.

Public / Attributes

Position


public attribute Position → (get)

value : int64

[>=0]
The stream position.

Returns the byte position of the stream.

The returned value gives the number of bytes that have been written to the stream (after encoding) or the number of bytes that have been read from the stream (before decoding).

IOException

If an I/O error has occurred.