The NMS Class Library (.Net Messaging Library)

OpenWireFormat.Marshal Method 

public void Marshal(
   object o,
   BinaryWriter ds
);

See Also

OpenWireFormat Class | ActiveMQ.OpenWire Namespace