Click or drag to resize

StreamsReadByte Method

Reads a byte from supplied stream.

Namespace:  OBCOM.NetSwitchLib.Utils
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public static int ReadByte(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream that will be read.

Return Value

Type: Int32
The byte read from supplied stream.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
EndOfStreamExceptionstream is missing bytes.
See Also