IBinaryIOTRead Method

Reads a value of T from binary using reader.

Definition

Namespace: Jodosoft.Primitives
Assembly: Jodosoft.Primitives (in Jodosoft.Primitives.dll) Version: 2.0
T Read(
	BinaryReader reader
)

Parameters

reader  BinaryReader
The reader to use to read.

Return Value

T
A value of T.

Exceptions

EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurred.

See Also