Click or drag to resize

StreamsRead7bitLong Method

Reads a 7bit long 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 long Read7bitLong(
	Stream stream
)

Parameters

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

Return Value

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