The ByteBuffer type exposes the following members.

Methods

  NameDescription
Public methodAppend(Byte)
Append a byte to the end of this ByteBuffer.
Public methodAppend(array<Byte>[]()[][])
Append an array of bytes to the end of this ByteBuffer.
Public methodAppend(array<Byte>[]()[][], Int32, Int32)
Append an array of bytes to the end of this ByteBuffer.
Public methodClone
Creates a shallow copy of the current ByteBuffer.
Public methodCompareTo(array<Byte>[]()[][])
Compare this ByteBuffer to an array of byte.
Public methodCompareTo(Object)
Compare this ByteBuffer to other ByteBuffer.
Public methodCompareTo(ByteBuffer)
Compare this ByteBuffer to another ByteBuffer.
Public methodEquals
Equals checks whether obj is an instance of ByteBuffer with same content.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet24BitInt
Get 24 bit (MSB first) value from this buffer at given byte position.
Public methodGetBuffer
Get a reference to internal array of byte buffer.
Public methodGetBytes
Get byte array from ByteBuffer as specified by index and length.
Public methodGetData
Get ByteBuffer data as byte[]
Public methodGetHashCode
Get hash code.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetInt
Get int (MSB first) value from this buffer at given byte position.
Public methodGetLong
Get long (MSB first) value from this buffer at given byte position.
Public methodGetShort
Get short (MSB first) value from this buffer at given byte position.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSet24BitInt
Store a 24 bit value in this buffer at given byte position. If index is above current length then unused bytes are set to 0, value is appended at specified position and length is increased.
Public methodSetInt
Store a int value in this buffer at given byte position. If index is above current length then unused bytes are set to 0, value is appended at specified position and length is increased.
Public methodSetLong
Store a long value in this buffer at given byte position. If index is above current length then unused bytes are set to 0, value is appended at specified position and length is increased.
Public methodSetShort
Store a short value in this buffer at given byte position. If index is above current length then unused bytes are set to 0, value is appended at specified position and length is increased.
Public methodToString
Format to string.
(Overrides Object..::..ToString()()()().)

See Also