Click or drag to resize

CircularDataBuffer Class

A DataBuffer that uses a circular buffer to manage data.
Inheritance Hierarchy

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

The CircularDataBuffer type exposes the following members.

Properties
  NameDescription
Public propertyCapacity
Gets the capacity of this CircularDataBuffer.
Public propertyData
Gets the data.
(Overrides DataBufferData.)
Public propertyIndex
Gets or sets the index.
(Inherited from DataBuffer.)
Protected propertyInnerData
Gets or sets backing data buffer.
(Inherited from DataBuffer.)
Public propertyIsPooled
Gets whether this DataBuffer is from a pool.
(Inherited from DataBuffer.)
Public propertyIsSubset
Gets whether this DataBuffer is a subset.
(Inherited from DataBuffer.)
Public propertyLength
Gets or sets the length.
(Inherited from DataBuffer.)
Public propertyLittleEndian
Gets or sets whether Data is little-endian.
(Inherited from DataBuffer.)
Top
Methods
  NameDescription
Public methodAnd
Performs a bitwise "and" operation on a value.
(Inherited from DataBuffer.)
Public methodAppend(DataBuffer)
Appends a buffer.
(Inherited from DataBuffer.)
Public methodAppend(DataBuffer)
Appends some buffers.
(Inherited from DataBuffer.)
Public methodAppendDataBuffer
Appends a data buffer to the correct place in this circular data buffer.
Public methodBeginWrite
Tells the CircularDataBuffer to expect more data of up to maxWriteSize. Will reshuffle data around or resize if necessary.
Public methodClone
Clones this instance.
(Inherited from DataBuffer.)
Public methodClone(Boolean)
Clones this instance.
(Inherited from DataBuffer.)
Public methodStatic memberCreate
Creates a new instance of the CircularDataBuffer that can hold a initial amount of data.
Public methodDiscard
Advances the Index by amount so the space used by the data can be reused.
Public methodEndWrite
Tells the CircularDataBuffer how much data was actually written so that the Length can be set appropriately.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFree
Frees the internal pooled DataBuffer.
(Overrides DataBufferFree.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodKeep
Increment the retain count by one.
(Inherited from DataBuffer.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOr
Performs a bitwise "or" operation on a value.
(Inherited from DataBuffer.)
Public methodPrepend(DataBuffer)
Prepends a buffer.
(Inherited from DataBuffer.)
Public methodPrepend(DataBuffer)
Prepends some buffers.
(Inherited from DataBuffer.)
Public methodRead1
Reads a 1-bit value.
(Inherited from DataBuffer.)
Public methodRead12
Reads a 12-bit value.
(Inherited from DataBuffer.)
Public methodRead13
Reads a 13-bit value.
(Inherited from DataBuffer.)
Public methodRead13Signed
Reads a 13-bit signed value.
(Inherited from DataBuffer.)
Public methodRead15
Reads a 15-bit value.
(Inherited from DataBuffer.)
Public methodRead16(Int32)
Reads a 16-bit value.
(Inherited from DataBuffer.)
Public methodRead16(Int32, Int32)
Reads a 16-bit value.
(Inherited from DataBuffer.)
Public methodRead16Signed(Int32)
Reads a 16-bit signed value.
(Inherited from DataBuffer.)
Public methodRead16Signed(Int32, Int32)
Reads a 16-bit signed value.
(Inherited from DataBuffer.)
Public methodRead18
Reads an 18-bit value.
(Inherited from DataBuffer.)
Public methodRead2
Reads a 2-bit value.
(Inherited from DataBuffer.)
Public methodRead24(Int32)
Reads a 24-bit value.
(Inherited from DataBuffer.)
Public methodRead24(Int32, Int32)
Reads a 24-bit value.
(Inherited from DataBuffer.)
Public methodRead24Signed(Int32)
Reads a 24-bit signed value.
(Inherited from DataBuffer.)
Public methodRead24Signed(Int32, Int32)
Reads a 24-bit signed value.
(Inherited from DataBuffer.)
Public methodRead2Signed
Reads a 2-bit signed value.
(Inherited from DataBuffer.)
Public methodRead3
Reads a 3-bit value.
(Inherited from DataBuffer.)
Public methodRead32(Int32)
Reads a 32-bit value.
(Inherited from DataBuffer.)
Public methodRead32(Int32, Int32)
Reads a 32-bit value.
(Inherited from DataBuffer.)
Public methodRead32Signed(Int32)
Reads a 32-bit signed value.
(Inherited from DataBuffer.)
Public methodRead32Signed(Int32, Int32)
Reads a 32-bit signed value.
(Inherited from DataBuffer.)
Public methodRead3Signed
Reads a 3-bit signed value.
(Inherited from DataBuffer.)
Public methodRead4
Reads a 4-bit value.
(Inherited from DataBuffer.)
Public methodRead40(Int32)
Reads a 40-bit value.
(Inherited from DataBuffer.)
Public methodRead40(Int32, Int32)
Reads a 40-bit value.
(Inherited from DataBuffer.)
Public methodRead40Signed(Int32)
Reads a 40-bit signed value.
(Inherited from DataBuffer.)
Public methodRead40Signed(Int32, Int32)
Reads a 40-bit signed value.
(Inherited from DataBuffer.)
Public methodRead48(Int32)
Reads a 48-bit value.
(Inherited from DataBuffer.)
Public methodRead48(Int32, Int32)
Reads a 48-bit value.
(Inherited from DataBuffer.)
Public methodRead48Signed(Int32)
Reads a 48-bit signed value.
(Inherited from DataBuffer.)
Public methodRead48Signed(Int32, Int32)
Reads a 48-bit signed value.
(Inherited from DataBuffer.)
Public methodRead4Signed
Reads a 4-bit signed value.
(Inherited from DataBuffer.)
Public methodRead5
Reads a 5-bit value.
(Inherited from DataBuffer.)
Public methodRead56(Int32)
Reads a 56-bit value.
(Inherited from DataBuffer.)
Public methodRead56(Int32, Int32)
Reads a 56-bit value.
(Inherited from DataBuffer.)
Public methodRead56Signed(Int32)
Reads a 56-bit signed value.
(Inherited from DataBuffer.)
Public methodRead56Signed(Int32, Int32)
Reads a 56-bit signed value.
(Inherited from DataBuffer.)
Public methodRead5Signed
Reads a 5-bit signed value.
(Inherited from DataBuffer.)
Public methodRead6
Reads a 6-bit value.
(Inherited from DataBuffer.)
Public methodRead64(Int32)
Reads a 64-bit value.
(Inherited from DataBuffer.)
Public methodRead64(Int32, Int32)
Reads a 64-bit value.
(Inherited from DataBuffer.)
Public methodRead64Signed(Int32)
Reads a 64-bit signed value.
(Inherited from DataBuffer.)
Public methodRead64Signed(Int32, Int32)
Reads a 64-bit signed value.
(Inherited from DataBuffer.)
Public methodRead6Signed
Reads a 6-bit signed value.
(Inherited from DataBuffer.)
Public methodRead7
Reads a 7-bit value.
(Inherited from DataBuffer.)
Public methodRead7Signed
Reads a 7-bit signed value.
(Inherited from DataBuffer.)
Public methodRead8(Int32)
Reads an 8-bit value.
(Inherited from DataBuffer.)
Public methodRead8(Int32, Int32)
Reads an 8-bit value.
(Inherited from DataBuffer.)
Public methodRead8Signed(Int32)
Reads an 8-bit signed value.
(Inherited from DataBuffer.)
Public methodRead8Signed(Int32, Int32)
Reads an 8-bit signed value.
(Inherited from DataBuffer.)
Public methodReadUtf8String(Int32)
Read a UTF-8 string.
(Inherited from DataBuffer.)
Public methodReadUtf8String(Int32, Int32)
Reads a UTF-8 string.
(Inherited from DataBuffer.)
Public methodResize(Int32)
Resizes this buffer to a new length with new data being inserted at the end.
(Inherited from DataBuffer.)
Public methodResize(Int32, Int32)
Resizes this buffer to a new length with new data being inserted at a given offset.
(Inherited from DataBuffer.)
Public methodResize(Int32, Int32, Boolean)
Resizes this buffer to a new length with new data being inserted at a given offset.
(Inherited from DataBuffer.)
Public methodSequenceEquals
Compares a data buffer for equality.
(Inherited from DataBuffer.)
Public methodSequenceEqualsConstantTime
Compares a data buffer for equality in constant time.
(Inherited from DataBuffer.)
Public methodSet(Byte)
Sets the data buffer to the specified value.
(Inherited from DataBuffer.)
Public methodSet(Byte, Int32)
Sets a subset of the data buffer to the specified value.
(Inherited from DataBuffer.)
Public methodSet(Byte, Int32, Int32)
Sets a subset of the data buffer to the specified value.
(Inherited from DataBuffer.)
Public methodSubset(Int32)
Gets a subset of this instance.
(Inherited from DataBuffer.)
Public methodSubset(Int32, Int32)
Gets a subset of this instance.
(Inherited from DataBuffer.)
Public methodToArray
Converts this instance to an array of bytes.
(Inherited from DataBuffer.)
Public methodToHexString
Converts this instance to a hexadecimal string.
(Inherited from DataBuffer.)
Public methodToJson
Serializes this instance to JSON.
(Inherited from DataBuffer.)
Public methodToString (Inherited from Object.)
Public methodTryRead1
Tries to read a 1-bit value.
(Inherited from DataBuffer.)
Public methodTryRead13
Tries to read a 13-bit value;
(Inherited from DataBuffer.)
Public methodTryRead16
Tries to read a 16-bit value.
(Inherited from DataBuffer.)
Public methodTryRead2
Tries to read a 2-bit value.
(Inherited from DataBuffer.)
Public methodTryRead24
Tries to read a 24-bit value.
(Inherited from DataBuffer.)
Public methodTryRead3
Tries to read a 3-bit value.
(Inherited from DataBuffer.)
Public methodTryRead32
Tries to read a 32-bit value.
(Inherited from DataBuffer.)
Public methodTryRead4
Tries to read a 4-bit value.
(Inherited from DataBuffer.)
Public methodTryRead40
Tries to read a 40-bit value.
(Inherited from DataBuffer.)
Public methodTryRead48
Tries to read a 48-bit value.
(Inherited from DataBuffer.)
Public methodTryRead5
Tries to read a 5-bit value.
(Inherited from DataBuffer.)
Public methodTryRead56
Tries to read a 56-bit value.
(Inherited from DataBuffer.)
Public methodTryRead6
Tries to read a 6-bit value.
(Inherited from DataBuffer.)
Public methodTryRead64
Tries to read a 64-bit value.
(Inherited from DataBuffer.)
Public methodTryRead7
Tries to read a 7-bit value.
(Inherited from DataBuffer.)
Public methodTryRead8
Tries to read an 8-bit value.
(Inherited from DataBuffer.)
Public methodWrite(DataBuffer)
Writes a data buffer to this instance.
(Inherited from DataBuffer.)
Public methodWrite(DataBuffer, Int32)
Writes a data buffer to this instance.
(Inherited from DataBuffer.)
Public methodWrite(DataBuffer, Int32, Int32)
Writes a data buffer to this instance.
(Inherited from DataBuffer.)
Public methodWrite1
Writes a 1-bit value.
(Inherited from DataBuffer.)
Public methodWrite13
Writes a 13-bit value.
(Inherited from DataBuffer.)
Public methodWrite16(Int32, Int32)
Writes a 16-bit value.
(Inherited from DataBuffer.)
Public methodWrite16(Int32, Int32, Int32)
Writes a 16-bit value.
(Inherited from DataBuffer.)
Public methodWrite18
Writes an 18-bit value.
(Inherited from DataBuffer.)
Public methodWrite2
Writes a 2-bit value.
(Inherited from DataBuffer.)
Public methodWrite24(Int32, Int32)
Writes a 24-bit value.
(Inherited from DataBuffer.)
Public methodWrite24(Int32, Int32, Int32)
Writes a 24-bit value.
(Inherited from DataBuffer.)
Public methodWrite3
Writes a 3-bit value.
(Inherited from DataBuffer.)
Public methodWrite32(Int64, Int32)
Writes a 32-bit value.
(Inherited from DataBuffer.)
Public methodWrite32(Int64, Int32, Int32)
Writes a 32-bit value.
(Inherited from DataBuffer.)
Public methodWrite4
Writes a 4-bit value.
(Inherited from DataBuffer.)
Public methodWrite40(Int64, Int32)
Writes a 40-bit value.
(Inherited from DataBuffer.)
Public methodWrite40(Int64, Int32, Int32)
Writes a 40-bit value.
(Inherited from DataBuffer.)
Public methodWrite48(Int64, Int32)
Writes a 48-bit value.
(Inherited from DataBuffer.)
Public methodWrite48(Int64, Int32, Int32)
Writes a 48-bit value.
(Inherited from DataBuffer.)
Public methodWrite5
Writes a 5-bit value.
(Inherited from DataBuffer.)
Public methodWrite56(Int64, Int32)
Writes a 56-bit value.
(Inherited from DataBuffer.)
Public methodWrite56(Int64, Int32, Int32)
Writes a 56-bit value.
(Inherited from DataBuffer.)
Public methodWrite6
Writes a 6-bit value.
(Inherited from DataBuffer.)
Public methodWrite64(Int64, Int32)
Writes a 64-bit value.
(Inherited from DataBuffer.)
Public methodWrite64(Int64, Int32, Int32)
Writes a 64-bit value.
(Inherited from DataBuffer.)
Public methodWrite7
Writes a 7-bit value.
(Inherited from DataBuffer.)
Public methodWrite8(Int32, Int32)
Writes an 8-bit value.
(Inherited from DataBuffer.)
Public methodWrite8(Int32, Int32, Int32)
Writes an 8-bit value.
(Inherited from DataBuffer.)
Public methodWriteBytes(Byte)
Writes a byte array to this instance.
(Inherited from DataBuffer.)
Public methodWriteBytes(Byte, Int32)
Writes a byte array to this instance.
(Inherited from DataBuffer.)
Public methodWriteBytes(Byte, Int32, Int32)
Writes a byte array to this instance.
(Inherited from DataBuffer.)
Public methodWriteBytes(Byte, Int32, Int32, Int32)
Writes a byte array to this instance.
(Inherited from DataBuffer.)
Public methodWriteBytes(Byte, Int32, Int32, Int32, Int32)
Writes a byte array to this instance.
(Inherited from DataBuffer.)
Public methodXor
Performs a bitwise "xor" operation on a value.
(Inherited from DataBuffer.)
Top
See Also