Click or drag to resize

StreamsRemaining Method

Returns the number of remaining bytes in 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 Remaining(
	Stream stream
)

Parameters

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

Return Value

Type: Int32
The number of remaining bytes in stream.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
See Also