Click or drag to resize
MessagePackSerializerTPack Method
Serializes specified object to the Stream.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public void Pack(
	Stream stream,
	T objectTree
)

Parameters

stream
Type: System.IOStream
Destination Stream.
objectTree
Type: T
Object to be serialized.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
SerializationExceptionT is not serializable etc.
See Also