Click or drag to resize
DataBuffer Class
Binary data buffer implementation
Inheritance Hierarchy

Namespace: FM.IceLink
Assembly: FM.IceLink (in FM.IceLink.dll) Version: 3.0.3.48 (3.0.3.48)

The DataBuffer type exposes the following members.

Properties
  NameDescription
Public propertyData
Gets the data.
Public propertyStatic memberEmpty
Gets an empty data buffer.
Public propertyIndex
Gets or sets the index.
Public propertyIsPooled
Gets whether this DataBuffer is from a pool.
Public propertyIsSubset
Gets whether this DataBuffer is a subset.
Public propertyLength
Gets or sets the length.
Public propertyLittleEndian
Gets or sets whether Data is little-endian.
Top
Methods
  NameDescription
Public methodStatic memberAllocate(Int32)
Allocates a new data buffer with a given size (in bytes) in big-endian format.
Public methodStatic memberAllocate(Int32, Boolean)
Allocates a new data buffer with a given size (in bytes).
Public methodStatic memberAllocate(Int32, Boolean, Boolean)
Allocates a new data buffer with a given size (in bytes).
Public methodAnd
Performs a bitwise "and" operation on a value.
Public methodAppend(DataBuffer)
Appends a buffer.
Public methodAppend(DataBuffer)
Appends some buffers.
Public methodStatic memberAreEqual
Tests if the two buffers have equal contents.
Public methodClone
Clones this instance.
Public methodClone(Boolean)
Clones this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodKeep
Increment the retain count by one.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOr
Performs a bitwise "or" operation on a value.
Public methodPrepend(DataBuffer)
Prepends a buffer.
Public methodPrepend(DataBuffer)
Prepends some buffers.
Public methodRead1
Reads a 1-bit value.
Public methodRead13
Reads a 13-bit value.
Public methodRead13Signed
Reads a 13-bit signed value.
Public methodRead15
Reads a 15-bit value.
Public methodRead16(Int32)
Reads a 16-bit value.
Public methodRead16(Int32, Int32)
Reads a 16-bit value.
Public methodRead16Signed(Int32)
Reads a 16-bit signed value.
Public methodRead16Signed(Int32, Int32)
Reads a 16-bit signed value.
Public methodRead2
Reads a 2-bit value.
Public methodRead24(Int32)
Reads a 24-bit value.
Public methodRead24(Int32, Int32)
Reads a 24-bit value.
Public methodRead24Signed(Int32)
Reads a 24-bit signed value.
Public methodRead24Signed(Int32, Int32)
Reads a 24-bit signed value.
Public methodRead2Signed
Reads a 2-bit signed value.
Public methodRead3
Reads a 3-bit value.
Public methodRead32(Int32)
Reads a 32-bit value.
Public methodRead32(Int32, Int32)
Reads a 32-bit value.
Public methodRead32Signed(Int32)
Reads a 32-bit signed value.
Public methodRead32Signed(Int32, Int32)
Reads a 32-bit signed value.
Public methodRead3Signed
Reads a 3-bit signed value.
Public methodRead4
Reads a 4-bit value.
Public methodRead40(Int32)
Reads a 40-bit value.
Public methodRead40(Int32, Int32)
Reads a 40-bit value.
Public methodRead40Signed(Int32)
Reads a 40-bit signed value.
Public methodRead40Signed(Int32, Int32)
Reads a 40-bit signed value.
Public methodRead48(Int32)
Reads a 48-bit value.
Public methodRead48(Int32, Int32)
Reads a 48-bit value.
Public methodRead48Signed(Int32)
Reads a 48-bit signed value.
Public methodRead48Signed(Int32, Int32)
Reads a 48-bit signed value.
Public methodRead4Signed
Reads a 4-bit signed value.
Public methodRead5
Reads a 5-bit value.
Public methodRead56(Int32)
Reads a 56-bit value.
Public methodRead56(Int32, Int32)
Reads a 56-bit value.
Public methodRead56Signed(Int32)
Reads a 56-bit signed value.
Public methodRead56Signed(Int32, Int32)
Reads a 56-bit signed value.
Public methodRead5Signed
Reads a 5-bit signed value.
Public methodRead6
Reads a 6-bit value.
Public methodRead64(Int32)
Reads a 64-bit value.
Public methodRead64(Int32, Int32)
Reads a 64-bit value.
Public methodRead64Signed(Int32)
Reads a 64-bit signed value.
Public methodRead64Signed(Int32, Int32)
Reads a 64-bit signed value.
Public methodRead6Signed
Reads a 6-bit signed value.
Public methodRead7
Reads a 7-bit value.
Public methodRead7Signed
Reads a 7-bit signed value.
Public methodRead8(Int32)
Reads an 8-bit value.
Public methodRead8(Int32, Int32)
Reads an 8-bit value.
Public methodRead8Signed(Int32)
Reads an 8-bit signed value.
Public methodRead8Signed(Int32, Int32)
Reads an 8-bit signed value.
Public methodReadUtf8String(Int32)
Read a UTF-8 string.
Public methodReadUtf8String(Int32, Int32)
Reads a UTF-8 string.
Public methodResize(Int32)
Resizes this buffer to a new length with new data being inserted at the end.
Public methodResize(Int32, Int32)
Resizes this buffer to a new length with new data being inserted at a given offset.
Public methodResize(Int32, Int32, Boolean)
Resizes this buffer to a new length with new data being inserted at a given offset.
Public methodSet(Byte)
Sets the data buffer to the specified value.
Public methodSet(Byte, Int32, Int32)
Sets a subset of the data buffer to the specified value.
Public methodSubset(Int32)
Gets a subset of this instance.
Public methodSubset(Int32, Int32)
Gets a subset of this instance.
Public methodToArray
Converts this instance to an array of bytes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryRead1
Tries to read a 1-bit value.
Public methodTryRead13
Tries to read a 13-bit value;
Public methodTryRead16
Tries to read a 16-bit value.
Public methodTryRead2
Tries to read a 2-bit value.
Public methodTryRead24
Tries to read a 24-bit value.
Public methodTryRead3
Tries to read a 3-bit value.
Public methodTryRead32
Tries to read a 32-bit value.
Public methodTryRead4
Tries to read a 4-bit value.
Public methodTryRead40
Tries to read a 40-bit value.
Public methodTryRead48
Tries to read a 48-bit value.
Public methodTryRead5
Tries to read a 5-bit value.
Public methodTryRead56
Tries to read a 56-bit value.
Public methodTryRead6
Tries to read a 6-bit value.
Public methodTryRead64
Tries to read a 64-bit value.
Public methodTryRead7
Tries to read a 7-bit value.
Public methodTryRead8
Tries to read an 8-bit value.
Public methodStatic memberWrap(Byte)
Produces a new data buffer containing supplied data in big-endian format.
Public methodStatic memberWrap(Byte, Boolean)
Produces a new data buffer containing supplied data.
Public methodStatic memberWrap(Byte, Int32, Int32)
Produces a new data buffer containing supplied data in big-endian format.
Public methodStatic memberWrap(Byte, Int32, Int32, Boolean)
Produces a new data buffer containing supplied data.
Public methodWrite
Writes a data buffer to this instance.
Public methodWrite1
Writes a 1-bit value.
Public methodWrite13
Writes a 13-bit value.
Public methodWrite16
Writes a 16-bit value.
Public methodWrite2
Writes a 2-bit value.
Public methodWrite24
Writes a 24-bit value.
Public methodWrite3
Writes a 3-bit value.
Public methodWrite32
Writes a 32-bit value.
Public methodWrite4
Writes a 4-bit value.
Public methodWrite40
Writes a 40-bit value.
Public methodWrite48
Writes a 48-bit value.
Public methodWrite5
Writes a 5-bit value.
Public methodWrite56
Writes a 56-bit value.
Public methodWrite6
Writes a 6-bit value.
Public methodWrite64
Writes a 64-bit value.
Public methodWrite7
Writes a 7-bit value.
Public methodWrite8
Writes an 8-bit value.
Public methodWriteBytes
Writes a byte array to this instance.
Public methodXor
Performs a bitwise "xor" operation on a value.
Top
Fields
  NameDescription
Protected fieldInnerData
The backing data buffer.
Top
See Also