Click or drag to resize

MessageFromStream Method

Decodes all the fields of this Message from supplied stream.

Namespace:  OBCOM.NetSwitchLib.Messages
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void FromStream(
	MemoryStream stream
)

Parameters

stream
Type: System.IOMemoryStream
A byte buffer with an encoded Message.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
ArgumentExceptionstream is invalid.
EndOfStreamExceptionstream is missing bytes.
See Also