Click or drag to resize

PacketWriter Class

Represents a packet writer/constructor.
Inheritance Hierarchy

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public abstract class PacketWriter : PacketIO, 
	IPacketWriter, IPacketIO, IDataIO, IDataLocationProvider, IDataWriter, 
	IBufferResolver, IOffsetPacketReader, IOffsetDataReader, IDataReferenceReader

The PacketWriter type exposes the following members.

Constructors
  NameDescription
Protected methodPacketWriter
Creates a new packet writer.
Top
Properties
  NameDescription
Public propertyBaseStream
When overriden in a derived class, returns the base stream (if any).
Public propertyCanGrow
Packet can be expanded.
Public propertyEndian
Endianess for integral types.
(Inherited from PacketIO.)
Public propertyID
Optional ID to identify the packet (eg source/destination, packet section, etc).
(Inherited from PacketIO.)
Public propertyIsFixed
Returns true if this is a fixed size packet. Ensure can't expand a fixed packet.
(Inherited from PacketIO.)
Public propertyLength
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.)
Public propertyParent
Returns the parent packet, or null.
(Inherited from PacketPosition.)
Public propertyPosition
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.)
Public propertyPositionInParent
Returns the current position with respect to our parent packet.
(Inherited from PacketIO.)
Public propertyRemaining
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.)
Public propertyResolved
Packet has been resolved into concrete data.
Public propertyTextEncoding
Encoding for text strings.
(Inherited from PacketIO.)
Public propertyTop
Returns the top parent.
(Inherited from PacketIO.)
Top
Methods
  NameDescription
Public methodAdvance
Advances the current packet position. Implies Ensure(length).
(Inherited from PacketIO.)
Public methodClear
Remove all data from the packet so it can be re-written.
Public methodStatic memberCreate(Endian, BinaryTextEncoding, String)
Creates an expandable PacketWriter. The packet will expand to accomodate the data written into it.
Public methodStatic memberCreate(ArraySegmentByte, Endian, BinaryTextEncoding, String)
Creates a fixed size PacketWriter from a buffer of data.
Public methodStatic memberCreate(Byte, Endian, BinaryTextEncoding, String)
Creates a fixed size PacketWriter from a buffer of data.
Public methodStatic memberCreate(Int64, Endian, BinaryTextEncoding, String)
Creates a fixed size PacketWriter from a buffer of data.
Public methodStatic memberCreate(PacketWriterPacketIOMethods, Endian, BinaryTextEncoding, String)
Creates a PacketWriter.
Public methodStatic memberCreate(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.
Public methodStatic memberCreate(ArraySegmentByte, Int32, Int32, Endian, BinaryTextEncoding, String)
Creates a fixed size PacketWriter from a buffer of data.
Public methodStatic memberCreate(Byte, Int32, Int32, Endian, BinaryTextEncoding, String)
Creates a fixed size PacketWriter from a buffer of data.
Public methodEnsure
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.)
Public methodFlushAsync
Flush the data to the underlying stream.
Public methodInsert
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.
Public methodMarkPosition
Return a position marker.
(Inherited from PacketIO.)
Public methodReset
Reset packet (and its ancestor packets) so that it can be resolved and flushed again.
Public methodResolve
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.
Top
Events
  NameDescription
Public eventOnAfterResolve
Occurs when this packet is being resolved. Used, for example, to fill in missing information such as packet lengths and checksums.
Public eventOnBeforeResolve
Occurs when this packet is being resolved. Used, for example, to fill in missing information such as packet lengths and checksums.
Top
Extension Methods
  NameDescription
Public Extension MethodFlush
Flush the data to the underlying stream.
(Defined by PacketWriterExtensions.)
Public Extension MethodFlushAsync
Flush the data to the underlying stream.
(Defined by PacketWriterExtensions.)
Public Extension MethodInsert
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.)
Public Extension MethodReadBit
Reads a bit at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadBoolean
Reads a boolean at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadByte
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadBytes(Int32, Int32)Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadBytes(Int32, ArraySegmentByte)Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadBytes(Int32, IDataWriter, Int32)Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadBytes(Int32, Byte, Int32, Int32)Overloaded.
Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadChar
Reads a character at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadDouble(Int32)Overloaded.
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadDouble(Int32, Endian)Overloaded.
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadDoubleBE
Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadDoubleLE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadInt16(Int32)Overloaded.
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadInt16(Int32, Endian)Overloaded.
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt16BE
Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt16LE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadInt32(Int32)Overloaded.
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadInt32(Int32, Endian)Overloaded.
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt32BE
Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt32LE
Reads the memory exchange from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadInt64(Int32)Overloaded.
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadInt64(Int32, Endian)Overloaded.
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt64BE
Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadInt64LE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadSByte
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadSingle(Int32)Overloaded.
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadSingle(Int32, Endian)Overloaded.
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadSingleBE
Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadSingleLE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadString(Int32)Overloaded.
Reads a string at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadString(Int32, BinaryTextEncoding)Overloaded.
Reads a string at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt16
Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt16BE
Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt16LE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadUInt32(Int32)Overloaded.
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadUInt32(Int32, Endian)Overloaded.
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt32BE
Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt32LE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodReadUInt64(Int32)Overloaded.
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetPacketReaderExtensions.)
Public Extension MethodReadUInt64(Int32, Endian)Overloaded.
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt64BE
Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions.)
Public Extension MethodReadUInt64LE
Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions.)
Public Extension MethodWriteAsBit
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.)
Public Extension MethodWriteAsBoolean
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.)
Public Extension MethodWriteAsByte
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.)
Public Extension MethodWriteAsChar
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.)
Public Extension MethodWriteAsDouble(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.)
Public Extension MethodWriteAsDouble(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.)
Public Extension MethodWriteAsDoubleBE
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.)
Public Extension MethodWriteAsDoubleLE
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.)
Public Extension MethodWriteAsInt16(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.)
Public Extension MethodWriteAsInt16(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.)
Public Extension MethodWriteAsInt16BE
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.)
Public Extension MethodWriteAsInt16LE
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.)
Public Extension MethodWriteAsInt32(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.)
Public Extension MethodWriteAsInt32(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.)
Public Extension MethodWriteAsInt32BE
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.)
Public Extension MethodWriteAsInt32LE
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.)
Public Extension MethodWriteAsInt64(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.)
Public Extension MethodWriteAsInt64(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.)
Public Extension MethodWriteAsInt64BE
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.)
Public Extension MethodWriteAsInt64LE
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.)
Public Extension MethodWriteAsSByte
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.)
Public Extension MethodWriteAsSingle(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.)
Public Extension MethodWriteAsSingle(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.)
Public Extension MethodWriteAsSingleBE
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.)
Public Extension MethodWriteAsSingleLE
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.)
Public Extension MethodWriteAsString
Writes a string at the current position in the buffer. The current position is advanced by the number of bytes written.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteAsUInt16(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.)
Public Extension MethodWriteAsUInt16(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.)
Public Extension MethodWriteAsUInt16BE
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.)
Public Extension MethodWriteAsUInt16LE
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.)
Public Extension MethodWriteAsUInt32(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.)
Public Extension MethodWriteAsUInt32(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.)
Public Extension MethodWriteAsUInt32BE
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.)
Public Extension MethodWriteAsUInt32LE
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.)
Public Extension MethodWriteAsUInt64(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.)
Public Extension MethodWriteAsUInt64(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.)
Public Extension MethodWriteAsUInt64BE
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.)
Public Extension MethodWriteAsUInt64LE
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.)
Public Extension MethodWriteBit
Writes a bit at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteBoolean
Writes a boolean at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteByte
Writes a byte at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(ArraySegmentByte)Overloaded.
Writes a bytes at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(Byte)Overloaded.
Writes a bytes at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteBytes(Byte, Int32, Int32)Overloaded.
Writes a bytes at the current position in the data.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteBytes(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.)
Public Extension MethodWriteChar
Writes an 8bit character at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteDouble(Double)Overloaded.
Writes a double floating point number at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteDouble(Double, Endian)Overloaded.
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteDoubleBE
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteDoubleLE
Writes a double floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt16(Int16)Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteInt16(Int16, Endian)Overloaded.
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt16BE
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt16LE
Writes a 16bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt32(Int32)Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteInt32(Int32, Endian)Overloaded.
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt32BE
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt32LE
Writes a 32bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt64(Int64)Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteInt64(Int64, Endian)Overloaded.
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt64BE
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteInt64LE
Writes a 64bit signed integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteSByte
Writes a signed byte at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteSingle(Single)Overloaded.
Writes a single floating point number at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteSingle(Single, Endian)Overloaded.
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteSingleBE
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteSingleLE
Writes a single floating point number at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteString(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.)
Public Extension MethodWriteString(BinaryString, BinaryTextEncoding)Overloaded.
Writes a string at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt16(UInt16)Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteUInt16(UInt16, Endian)Overloaded.
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt16BE
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt16LE
Writes a 16bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt32(UInt32)Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteUInt32(UInt32, Endian)Overloaded.
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt32BE
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt32LE
Writes a 32bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt64(UInt64)Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by PacketWriterExtensions.)
Public Extension MethodWriteUInt64(UInt64, Endian)Overloaded.
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt64BE
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Public Extension MethodWriteUInt64LE
Writes a 64bit unsigned integer at the current position in the buffer.
(Defined by DataWriterExtensions.)
Top
See Also