RFA .NET

The Buffer type exposes the following members.

Constructors

  NameDescription
Public methodBuffer()()()()
Default Constructor.
Public methodBuffer(array<Byte>[]()[][])
Constructor specifing byte array of the memory to copy from.
Public methodBuffer(Int32)
Constructor specifing capacity.
Public methodBuffer(Buffer)
Copy Constructor.
Public methodBuffer(array<Byte>[]()[][], Int32)
Constructor specifing byte array and length of the memory to copy from.
Public methodBuffer(array<Byte>[]()[][], Int32, Int32)
Constructor specifing byte array and length of the memory to copy from, and capacity of the buffer.

Methods

  NameDescription
Public methodClear
Clears the contents of the buffer.
Public methodCompareTo
Compares the current Buffer with another Buffer.
Public methodDispose
Releases unmanaged resources.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Public methodEquals(Buffer)
Determines whether the specified Buffer object is equal to this Object.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodIsEqual
Compares the buffer with a byte array.
Public methodResize(Int32)
Changes the capacity of the buffer.
Public methodResize(Int32, Boolean)
Changes the capacity of the buffer.
Public methodSet()()()()
Sets the contents of the buffer to 0, the number of bytes to set is equal to Capacity.
Public methodSet(Byte)
Sets the contents of the buffer to the given value, the number of bytes to set is equal to Capacity.
Public methodSet(Byte, Int32)
Sets the contents of the buffer to the given value.
Public methodSetFrom(array<Byte>[]()[][], Int32)
Sets the contents of the buffer with memory allocation.
Public methodSetFrom(array<Byte>[]()[][], Int32, Int32)
Sets the contents of the buffer with memory allocation.
Public methodToRFA_String
String representation of this object.
Public methodToString
String representation of this object.
(Overrides Object..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberEquality
Equality operator.
Public operatorStatic memberInequality
Inequality operator.

Properties

  NameDescription
Public propertyByteArray
Gets the byte array of the buffer storage.
Public propertyCapacity
Gets the buffer capacity.
Public propertyIsEmpty
Gets the boolean value to determine the buffer is empty.
Public propertySize
Gets or sets the current length of the buffer contents.

See Also