MessagePackSerializerTPack Method |
Serializes specified object to the
Stream.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public void Pack(
Stream stream,
T objectTree
)
Public Sub Pack (
stream As Stream,
objectTree As T
)
public:
void Pack(
Stream^ stream,
T objectTree
)
member Pack :
stream : Stream *
objectTree : 'T -> unit
Parameters
- stream
- Type: System.IOStream
Destination Stream. - objectTree
- Type: T
Object to be serialized.
Exceptions See Also