Click or drag to resize

IPacketIOServiceWrite Method

Gets a data buffer for writing.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
PacketWriter Write()

Return Value

Type: PacketWriter
A PacketWriter that will write the data.
Remarks
This method does not write any data to the socket. It returns a PacketWriter that can be used to compose a packet. The packet is only written to the socket when PacketWriter.Flush() is called. The position of the packet in the message stream is determined by when PacketWriter.Flush() is called, and not by when this method is called.
See Also