The ByteBuffer type exposes the following members.

Constructors

  Name Description
Public method ByteBuffer()()()()
Creates a new instance of
CopyC#
ByteBuffer
.
Public method ByteBuffer(array<Byte>[]()[][])
Creates a new instance of
CopyC#
ByteBuffer
.
Public method ByteBuffer(Int32)
Creates a new
CopyC#
ByteBuffer
object.

Methods

  Name Description
Public method Append(Byte)
Appends data to this
CopyC#
ByteBuffer
.
Public method Append(array<Byte>[]()[][])
Appends data to this
CopyC#
ByteBuffer
.
Public method Append(Char)
Appends a character to this
CopyC#
ByteBuffer
.
Public method Append(array<Char>[]()[][])
Appends data to this
CopyC#
ByteBuffer
.
Public method Append(ByteBuffer)
Appends data to this
CopyC#
ByteBuffer
.
Public method Append(String, String)
Appends data to this
CopyC#
ByteBuffer
.
Public method Append(array<Byte>[]()[][], Int32, Int32)
Appends data to this
CopyC#
ByteBuffer
.
Public method Contains(array<Byte>[]()[][])
Checks if data is contained in this buffer.
Public method Contains(array<Byte>[]()[][], Boolean)
Checks if data is contained in this buffer.
Public method EndsWith
Checks if buffer ends with specified string.
Public method Equals(Object)
Checks for equality of this
CopyC#
ByteBuffer
.
(Overrides Object..::..Equals(Object).)
Public method Equals(String, String)
Checks if buffer equals specified string.
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetBuffer(Int32)
Gets a portion of this
CopyC#
ByteBuffer
data.
Public method GetBuffer(Int32, Int32)
Gets a portion of this
CopyC#
ByteBuffer
data.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf(Byte)
Locates the index of the specified data.
Public method IndexOf(array<Byte>[]()[][])
Locates the index of the specified data.
Public method IndexOf(Byte, Int32)
Locates the index of the specified data.
Public method IndexOf(array<Byte>[]()[][], Int32)
Locates the index of the specified data.
Public method IndexOf(String, String)
Locates the index of the specified data.
Public method IndexOf(String, String, Int32)
Locates the index of the specified data.
Public method Length
Gets the length of this
CopyC#
ByteBuffer
in bytes.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method StartsWith
Checks if buffer starts with specified string.
Public method ToByteArray
Gets buffer as a byte array.
Public method ToString()()()()
Gets buffer as a
CopyC#
string
using system default character encoding.
Public method ToString(String)
Gets buffer as a
CopyC#
String
using provided character encoding.

See Also