StaticreadRead a value from the stream.
The BinaryStream to read from.
Optionaloptions: PacketDataTypeOptions<boolean>Options for reading the data type, such as endianness.
The value read from the stream.
StaticwriteWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Optionaloptions: PacketDataTypeOptions<boolean>Options for writing the data type, such as endianness.
Default constructor for DataType.