NetBuffer Properties

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

The NetBuffer type exposes the following members.

Properties

  NameDescription
Public propertyData
Gets or sets the internal data buffer
Public propertyLengthBits
Gets or sets the length of the used portion of the buffer in bits
Public propertyLengthBytes
Gets or sets the length of the used portion of the buffer in bytes
Public propertyPosition
Gets or sets the read position in the buffer, in bits (not bytes)
Public propertyPositionInBytes
Gets the position in the buffer in bytes; note that the bits of the first returned byte may already have been read - check the Position property to make sure.

See Also