Click or drag to resize

PacketWriterCreate(PacketWriterPacketIOMethods, Endian, BinaryTextEncoding, String) Method

Creates a PacketWriter.

Namespace: Demo3D.IO
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public static PacketWriter Create(
	PacketWriterPacketIOMethods methods,
	Endian? endian,
	BinaryTextEncoding? textEncoding,
	string? description
)

Parameters

methods  PacketWriterPacketIOMethods
The methods for accessing underlying data.
endian  Endian
The endian format of the data (or null if not known).
textEncoding  BinaryTextEncoding
The encoding of strings in the packet (or null if not known).
description  String
Printable packet/message/connection descrition.

Return Value

PacketWriter
A new PacketWriter
See Also