DataBuffer Class |
Namespace: FM.IceLink
The DataBuffer type exposes the following members.
Name | Description | |
---|---|---|
![]() | Data |
Gets the data.
|
![]() ![]() | Empty |
Gets an empty data buffer.
|
![]() | Index |
Gets or sets the index.
|
![]() | InnerData |
Gets or sets backing data buffer.
|
![]() | IsPooled |
Gets whether this DataBuffer is from a pool.
|
![]() | IsSubset |
Gets whether this DataBuffer is a subset.
|
![]() | Length |
Gets or sets the length.
|
![]() | LittleEndian |
Gets or sets whether Data is little-endian.
|
Name | Description | |
---|---|---|
![]() ![]() | Allocate(Int32) |
Allocates a new data buffer with a given size (in bytes)
in big-endian format.
|
![]() ![]() | Allocate(Int32, Boolean) |
Allocates a new data buffer with a given size (in bytes).
|
![]() ![]() | Allocate(Int32, Boolean, Boolean) |
Allocates a new data buffer with a given size (in bytes).
|
![]() | And |
Performs a bitwise "and" operation on a value.
|
![]() | Append(DataBuffer) |
Appends a buffer.
|
![]() | Append(DataBuffer) |
Appends some buffers.
|
![]() ![]() | AreEqual |
Tests if the two buffers have equal contents.
|
![]() | Clone |
Clones this instance.
|
![]() | Clone(Boolean) |
Clones this instance.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Free |
Decrements the retain count by one and returns the Buffer to the pool if zero.
|
![]() ![]() | FromJson |
Deserializes an instance from JSON.
|
![]() ![]() | FromJsonArray |
Deserializes an array of instances from JSON.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Keep |
Increment the retain count by one.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Or |
Performs a bitwise "or" operation on a value.
|
![]() | Prepend(DataBuffer) |
Prepends a buffer.
|
![]() | Prepend(DataBuffer) |
Prepends some buffers.
|
![]() | Read1 |
Reads a 1-bit value.
|
![]() | Read12 |
Reads a 12-bit value.
|
![]() | Read13 |
Reads a 13-bit value.
|
![]() | Read13Signed |
Reads a 13-bit signed value.
|
![]() | Read15 |
Reads a 15-bit value.
|
![]() | Read16(Int32) |
Reads a 16-bit value.
|
![]() | Read16(Int32, Int32) |
Reads a 16-bit value.
|
![]() | Read16Signed(Int32) |
Reads a 16-bit signed value.
|
![]() | Read16Signed(Int32, Int32) |
Reads a 16-bit signed value.
|
![]() | Read18 |
Reads an 18-bit value.
|
![]() | Read2 |
Reads a 2-bit value.
|
![]() | Read24(Int32) |
Reads a 24-bit value.
|
![]() | Read24(Int32, Int32) |
Reads a 24-bit value.
|
![]() | Read24Signed(Int32) |
Reads a 24-bit signed value.
|
![]() | Read24Signed(Int32, Int32) |
Reads a 24-bit signed value.
|
![]() | Read2Signed |
Reads a 2-bit signed value.
|
![]() | Read3 |
Reads a 3-bit value.
|
![]() | Read32(Int32) |
Reads a 32-bit value.
|
![]() | Read32(Int32, Int32) |
Reads a 32-bit value.
|
![]() | Read32Signed(Int32) |
Reads a 32-bit signed value.
|
![]() | Read32Signed(Int32, Int32) |
Reads a 32-bit signed value.
|
![]() | Read3Signed |
Reads a 3-bit signed value.
|
![]() | Read4 |
Reads a 4-bit value.
|
![]() | Read40(Int32) |
Reads a 40-bit value.
|
![]() | Read40(Int32, Int32) |
Reads a 40-bit value.
|
![]() | Read40Signed(Int32) |
Reads a 40-bit signed value.
|
![]() | Read40Signed(Int32, Int32) |
Reads a 40-bit signed value.
|
![]() | Read48(Int32) |
Reads a 48-bit value.
|
![]() | Read48(Int32, Int32) |
Reads a 48-bit value.
|
![]() | Read48Signed(Int32) |
Reads a 48-bit signed value.
|
![]() | Read48Signed(Int32, Int32) |
Reads a 48-bit signed value.
|
![]() | Read4Signed |
Reads a 4-bit signed value.
|
![]() | Read5 |
Reads a 5-bit value.
|
![]() | Read56(Int32) |
Reads a 56-bit value.
|
![]() | Read56(Int32, Int32) |
Reads a 56-bit value.
|
![]() | Read56Signed(Int32) |
Reads a 56-bit signed value.
|
![]() | Read56Signed(Int32, Int32) |
Reads a 56-bit signed value.
|
![]() | Read5Signed |
Reads a 5-bit signed value.
|
![]() | Read6 |
Reads a 6-bit value.
|
![]() | Read64(Int32) |
Reads a 64-bit value.
|
![]() | Read64(Int32, Int32) |
Reads a 64-bit value.
|
![]() | Read64Signed(Int32) |
Reads a 64-bit signed value.
|
![]() | Read64Signed(Int32, Int32) |
Reads a 64-bit signed value.
|
![]() | Read6Signed |
Reads a 6-bit signed value.
|
![]() | Read7 |
Reads a 7-bit value.
|
![]() | Read7Signed |
Reads a 7-bit signed value.
|
![]() | Read8(Int32) |
Reads an 8-bit value.
|
![]() | Read8(Int32, Int32) |
Reads an 8-bit value.
|
![]() | Read8Signed(Int32) |
Reads an 8-bit signed value.
|
![]() | Read8Signed(Int32, Int32) |
Reads an 8-bit signed value.
|
![]() | ReadUtf8String(Int32) |
Read a UTF-8 string.
|
![]() | ReadUtf8String(Int32, Int32) |
Reads a UTF-8 string.
|
![]() | Resize(Int32) |
Resizes this buffer to a new length with new data being inserted at the end.
|
![]() | Resize(Int32, Int32) |
Resizes this buffer to a new length with new data being inserted at a given offset.
|
![]() | Resize(Int32, Int32, Boolean) |
Resizes this buffer to a new length with new data being inserted at a given offset.
|
![]() | SequenceEquals |
Compares a data buffer for equality.
|
![]() | SequenceEqualsConstantTime |
Compares a data buffer for equality in constant time.
|
![]() | Set(Byte) |
Sets the data buffer to the specified value.
|
![]() | Set(Byte, Int32) |
Sets a subset of the data buffer to the specified value.
|
![]() | Set(Byte, Int32, Int32) |
Sets a subset of the data buffer to the specified value.
|
![]() | Subset(Int32) |
Gets a subset of this instance.
|
![]() | Subset(Int32, Int32) |
Gets a subset of this instance.
|
![]() | ToArray |
Converts this instance to an array of bytes.
|
![]() | ToHexString |
Converts this instance to a hexadecimal string.
|
![]() | ToJson |
Serializes this instance to JSON.
|
![]() ![]() | ToJson(DataBuffer) |
Serializes an instance to JSON.
|
![]() ![]() | ToJsonArray |
Serializes an array of instances to JSON.
|
![]() | ToString | (Inherited from Object.) |
![]() | TryRead1 |
Tries to read a 1-bit value.
|
![]() | TryRead13 |
Tries to read a 13-bit value;
|
![]() | TryRead16 |
Tries to read a 16-bit value.
|
![]() | TryRead2 |
Tries to read a 2-bit value.
|
![]() | TryRead24 |
Tries to read a 24-bit value.
|
![]() | TryRead3 |
Tries to read a 3-bit value.
|
![]() | TryRead32 |
Tries to read a 32-bit value.
|
![]() | TryRead4 |
Tries to read a 4-bit value.
|
![]() | TryRead40 |
Tries to read a 40-bit value.
|
![]() | TryRead48 |
Tries to read a 48-bit value.
|
![]() | TryRead5 |
Tries to read a 5-bit value.
|
![]() | TryRead56 |
Tries to read a 56-bit value.
|
![]() | TryRead6 |
Tries to read a 6-bit value.
|
![]() | TryRead64 |
Tries to read a 64-bit value.
|
![]() | TryRead7 |
Tries to read a 7-bit value.
|
![]() | TryRead8 |
Tries to read an 8-bit value.
|
![]() ![]() | Wrap(Byte) |
Produces a new data buffer containing supplied data
in big-endian format.
|
![]() ![]() | Wrap(Byte, Boolean) |
Produces a new data buffer containing supplied data.
|
![]() ![]() | Wrap(Byte, Int32) |
Produces a new data buffer containing supplied data
in big-endian format.
|
![]() ![]() | Wrap(Byte, Int32, Boolean) |
Produces a new data buffer containing supplied data.
|
![]() ![]() | Wrap(Byte, Int32, Int32) |
Produces a new data buffer containing supplied data
in big-endian format.
|
![]() ![]() | Wrap(Byte, Int32, Int32, Boolean) |
Produces a new data buffer containing supplied data.
|
![]() | Write(DataBuffer) |
Writes a data buffer to this instance.
|
![]() | Write(DataBuffer, Int32) |
Writes a data buffer to this instance.
|
![]() | Write(DataBuffer, Int32, Int32) |
Writes a data buffer to this instance.
|
![]() | Write1 |
Writes a 1-bit value.
|
![]() | Write13 |
Writes a 13-bit value.
|
![]() | Write16(Int32, Int32) |
Writes a 16-bit value.
|
![]() | Write16(Int32, Int32, Int32) |
Writes a 16-bit value.
|
![]() | Write18 |
Writes an 18-bit value.
|
![]() | Write2 |
Writes a 2-bit value.
|
![]() | Write24(Int32, Int32) |
Writes a 24-bit value.
|
![]() | Write24(Int32, Int32, Int32) |
Writes a 24-bit value.
|
![]() | Write3 |
Writes a 3-bit value.
|
![]() | Write32(Int64, Int32) |
Writes a 32-bit value.
|
![]() | Write32(Int64, Int32, Int32) |
Writes a 32-bit value.
|
![]() | Write4 |
Writes a 4-bit value.
|
![]() | Write40(Int64, Int32) |
Writes a 40-bit value.
|
![]() | Write40(Int64, Int32, Int32) |
Writes a 40-bit value.
|
![]() | Write48(Int64, Int32) |
Writes a 48-bit value.
|
![]() | Write48(Int64, Int32, Int32) |
Writes a 48-bit value.
|
![]() | Write5 |
Writes a 5-bit value.
|
![]() | Write56(Int64, Int32) |
Writes a 56-bit value.
|
![]() | Write56(Int64, Int32, Int32) |
Writes a 56-bit value.
|
![]() | Write6 |
Writes a 6-bit value.
|
![]() | Write64(Int64, Int32) |
Writes a 64-bit value.
|
![]() | Write64(Int64, Int32, Int32) |
Writes a 64-bit value.
|
![]() | Write7 |
Writes a 7-bit value.
|
![]() | Write8(Int32, Int32) |
Writes an 8-bit value.
|
![]() | Write8(Int32, Int32, Int32) |
Writes an 8-bit value.
|
![]() | WriteBytes(Byte) |
Writes a byte array to this instance.
|
![]() | WriteBytes(Byte, Int32) |
Writes a byte array to this instance.
|
![]() | WriteBytes(Byte, Int32, Int32) |
Writes a byte array to this instance.
|
![]() | WriteBytes(Byte, Int32, Int32, Int32) |
Writes a byte array to this instance.
|
![]() | WriteBytes(Byte, Int32, Int32, Int32, Int32) |
Writes a byte array to this instance.
|
![]() | Xor |
Performs a bitwise "xor" operation on a value.
|