PacketWriterWriteBytes Method (PacketReader, Int32) |
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntaxpublic Buffer WriteBytes(
PacketReader fromPacket,
int length
)
Parameters
- fromPacket
- Type: Demo3D.IOPacketReader
The packet to read the data from. - length
- Type: SystemInt32
The number of bytes to write.
Return Value
Type:
BufferA buffer into which data can be overwritten.
Remarks
The buffer returned describes the area of the packet written to by this method.
This buffer can be used to overwrite that portion of the data in the packet.
See Also