PacketWriter Class |
Namespace: Demo3D.IO
public abstract class PacketWriter : PacketIO, IPacketWriter, IPacketIO, IDataIO, IDataLocationProvider, IDataWriter, IBufferResolver, IOffsetPacketReader, IOffsetDataReader, IDataReferenceReader
The PacketWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| PacketWriter |
Creates a new packet writer.
|
| Name | Description | |
|---|---|---|
| BaseStream |
When overriden in a derived class, returns the base stream (if any).
| |
| CanGrow |
Packet can be expanded.
| |
| Endian |
Endianess for integral types.
(Inherited from PacketIO.) | |
| ID |
Optional ID to identify the packet (eg source/destination, packet section, etc).
(Inherited from PacketIO.) | |
| IsFixed |
Returns true if this is a fixed size packet. Ensure can't expand a fixed packet.
(Inherited from PacketIO.) | |
| Length |
Returns the current length of the packet.
The Length of a packet may change without Ensure being called if it's an expandable PacketWriter and data is inserted.
(Inherited from PacketIO.) | |
| Parent |
Returns the parent packet, or null.
(Inherited from PacketPosition.) | |
| Position |
Returns the current position in this packet.
The Position of a packet may change without Advance being called if it's an expandable PacketWriter and data is inserted.
(Inherited from PacketIO.) | |
| PositionInParent |
Returns the current position with respect to our parent packet.
(Inherited from PacketIO.) | |
| Remaining |
Returns the remaining data/space available in this packet. If it's a fixed-size packet, then this is definitive.
Otherwise Ensure can be used to try to extend the packet with more data/space.
(Inherited from PacketIO.) | |
| Resolved |
Packet has been resolved into concrete data.
| |
| TextEncoding |
Encoding for text strings.
(Inherited from PacketIO.) | |
| Top |
Returns the top parent.
(Inherited from PacketIO.) |
| Name | Description | |
|---|---|---|
| Advance |
Advances the current packet position. Implies Ensure(length).
(Inherited from PacketIO.) | |
| Clear |
Remove all data from the packet so it can be re-written.
| |
| Create(Endian, BinaryTextEncoding, String) |
Creates an expandable PacketWriter. The packet will expand to accomodate the data written into it.
| |
| Create(ArraySegmentByte, Endian, BinaryTextEncoding, String) |
Creates a fixed size PacketWriter from a buffer of data.
| |
| Create(Byte, Endian, BinaryTextEncoding, String) |
Creates a fixed size PacketWriter from a buffer of data.
| |
| Create(Int64, Endian, BinaryTextEncoding, String) |
Creates a fixed size PacketWriter from a buffer of data.
| |
| Create(PacketWriterPacketIOMethods, Endian, BinaryTextEncoding, String) |
Creates a PacketWriter.
| |
| Create(Stream, PacketLock, Endian, BinaryTextEncoding, String) |
Creates an expandable PacketWriter writing to a data stream. The packet will expand to accomodate the data written into it.
| |
| Create(ArraySegmentByte, Int32, Int32, Endian, BinaryTextEncoding, String) |
Creates a fixed size PacketWriter from a buffer of data.
| |
| Create(Byte, Int32, Int32, Endian, BinaryTextEncoding, String) |
Creates a fixed size PacketWriter from a buffer of data.
| |
| Ensure |
Ensure that the next length bytes of data/space are available in the packet. If there isn't enough already
available, and the packet isn't fixed, then it'll attempt to read more data into or create more space in the packet.
(Inherited from PacketIO.) | |
| FlushAsync |
Flush the data to the underlying stream.
| |
| Insert |
Returns a new packet writer pointing to the current position in this packet. Anything written into the new packet
will be inserted into the data buffer when this packet is resolved.
If length is non-negative, then a fixed packet will be returned. Implies Ensure(length).
If this packet is not fixed, and length is negative, then an expandable packet will be returned.
| |
| MarkPosition |
Return a position marker.
(Inherited from PacketIO.) | |
| Reset |
Reset packet (and its ancestor packets) so that it can be resolved and flushed again.
| |
| Resolve |
Resolve this packet into concrete data. Resolve makes two passes across the packet from start to end, depth-first.
The first pass it calls OnBeforeResolve for each constituent packet, and the second pass it calls OnAfterResolve and
collects the data to be returned. You can write to a packet during Resolve.
|
| Name | Description | |
|---|---|---|
| OnAfterResolve |
Occurs when this packet is being resolved. Used, for example, to fill in missing information such as
packet lengths and checksums.
| |
| OnBeforeResolve |
Occurs when this packet is being resolved. Used, for example, to fill in missing information such as
packet lengths and checksums.
|
| Name | Description | |
|---|---|---|
| Flush |
Flush the data to the underlying stream.
(Defined by PacketWriterExtensions.) | |
| FlushAsync |
Flush the data to the underlying stream.
(Defined by PacketWriterExtensions.) | |
| Insert |
Returns a new buffer writer pointing to the current position in this packet. Anything written into the new packet
will be inserted into the data buffer when this packet is resolved.
(Defined by PacketWriterExtensions.) | |
| ReadBit |
Reads a bit at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadBoolean |
Reads a boolean at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadByte |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadBytes(Int32, Int32) | Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(Int32, ArraySegmentByte) | Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(Int32, IDataWriter, Int32) | Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(Int32, Byte, Int32, Int32) | Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadChar |
Reads a character at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadDouble(Int32) | Overloaded.
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadDouble(Int32, Endian) | Overloaded.
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadDoubleBE |
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadDoubleLE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadInt16(Int32) | Overloaded.
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadInt16(Int32, Endian) | Overloaded.
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt16BE |
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt16LE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadInt32(Int32) | Overloaded.
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadInt32(Int32, Endian) | Overloaded.
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt32BE |
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt32LE |
Reads the memory exchange from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadInt64(Int32) | Overloaded.
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadInt64(Int32, Endian) | Overloaded.
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt64BE |
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadInt64LE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadSByte |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadSingle(Int32) | Overloaded.
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadSingle(Int32, Endian) | Overloaded.
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadSingleBE |
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadSingleLE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadString(Int32) | Overloaded.
Reads a string at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadString(Int32, BinaryTextEncoding) | Overloaded.
Reads a string at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16 |
Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16BE |
Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16LE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadUInt32(Int32) | Overloaded.
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadUInt32(Int32, Endian) | Overloaded.
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt32BE |
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt32LE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| ReadUInt64(Int32) | Overloaded.
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.) | |
| ReadUInt64(Int32, Endian) | Overloaded.
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt64BE |
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.) | |
| ReadUInt64LE |
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.) | |
| WriteAsBit |
Writes a bit at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Boolean).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 1 byte.
(Defined by DataWriterExtensions.) | |
| WriteAsBoolean |
Writes a boolean at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Boolean).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 1 byte.
(Defined by DataWriterExtensions.) | |
| WriteAsByte |
Writes a byte at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Byte).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 1 byte.
(Defined by DataWriterExtensions.) | |
| WriteAsChar |
Writes a character at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Char).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 1 byte.
(Defined by DataWriterExtensions.) | |
| WriteAsDouble(Object) | Overloaded.
Writes a 64bit double floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Double).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsDouble(Object, Endian) | Overloaded.
Writes a 64bit double floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Double).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsDoubleBE |
Writes a 64bit double floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Double).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsDoubleLE |
Writes a 64bit double floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Double).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt16(Object) | Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsInt16(Object, Endian) | Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt16BE |
Writes a 16bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt16LE |
Writes a 16bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt32(Object) | Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsInt32(Object, Endian) | Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt32BE |
Writes a 32bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt32LE |
Writes a 32bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt64(Object) | Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsInt64(Object, Endian) | Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt64BE |
Writes a 64bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsInt64LE |
Writes a 64bit signed integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Int64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsSByte |
Writes a signed byte at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.SByte).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 1 byte.
(Defined by DataWriterExtensions.) | |
| WriteAsSingle(Object) | Overloaded.
Writes a 32bit single floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Single).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsSingle(Object, Endian) | Overloaded.
Writes a 32bit single floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Single).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsSingleBE |
Writes a 32bit single floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Single).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsSingleLE |
Writes a 32bit single floating point number at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.Single).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsString |
Writes a string at the current position in the buffer.
The current position is advanced by the number of bytes written.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt16(Object) | Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsUInt16(Object, Endian) | Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt16BE |
Writes a 16bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt16LE |
Writes a 16bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt16).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 2 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt32(Object) | Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsUInt32(Object, Endian) | Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt32BE |
Writes a 32bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt32LE |
Writes a 32bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt32).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 4 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt64(Object) | Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by PacketWriterExtensions.) | |
| WriteAsUInt64(Object, Endian) | Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt64BE |
Writes a 64bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteAsUInt64LE |
Writes a 64bit unsigned integer at the current position in the buffer.
The object is first converted using BinaryConvert.ChangeType(val, TypeCode.UInt64).
ChangeType(Object, Type, BinaryConvertConversionType)
The current position is advanced by 8 bytes.
(Defined by DataWriterExtensions.) | |
| WriteBit |
Writes a bit at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteBoolean |
Writes a boolean at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteByte |
Writes a byte at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteBytes(ArraySegmentByte) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteBytes(ArraySegmentByte) | Overloaded.
Writes a bytes at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteBytes(Byte) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteBytes(Byte) | Overloaded.
Writes a bytes at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteBytes(Int32) | Overloaded.
Prepare a buffer for writing bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteBytes(IDataReader, Int32) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteBytes(IDataReader, Int32) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by DataWriterExtensions.) | |
| WriteBytes(Byte, Int32, Int32) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteBytes(Byte, Int32, Int32) | Overloaded.
Writes a bytes at the current position in the data.
(Defined by DataWriterExtensions.) | |
| WriteBytes(IOffsetDataReader, Int32, Int32) | Overloaded.
Writes a bytes at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteChar |
Writes an 8bit character at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteDouble(Double) | Overloaded.
Writes a double floating point number at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteDouble(Double, Endian) | Overloaded.
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteDoubleBE |
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteDoubleLE |
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt16(Int16) | Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteInt16(Int16, Endian) | Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt16BE |
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt16LE |
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt32(Int32) | Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteInt32(Int32, Endian) | Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt32BE |
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt32LE |
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt64(Int64) | Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteInt64(Int64, Endian) | Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt64BE |
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteInt64LE |
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteSByte |
Writes a signed byte at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteSingle(Single) | Overloaded.
Writes a single floating point number at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteSingle(Single, Endian) | Overloaded.
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteSingleBE |
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteSingleLE |
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteString(BinaryString) | Overloaded.
Writes a string at the current position in the packet packet.
The current position is advanced by the number of bytes written.
(Defined by PacketWriterExtensions.) | |
| WriteString(BinaryString, BinaryTextEncoding) | Overloaded.
Writes a string at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt16(UInt16) | Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteUInt16(UInt16, Endian) | Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt16BE |
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt16LE |
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt32(UInt32) | Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteUInt32(UInt32, Endian) | Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt32BE |
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt32LE |
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt64(UInt64) | Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.) | |
| WriteUInt64(UInt64, Endian) | Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt64BE |
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) | |
| WriteUInt64LE |
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.) |