The NMS Class Library (.Net Messaging Library)

BaseDataStreamMarshaller.LooseMarshalString Method 

public static void LooseMarshalString(
   string value,
   BinaryWriter dataOut
);

See Also

BaseDataStreamMarshaller Class | ActiveMQ.OpenWire Namespace