Buffer class that acts like a Stream. It has relative Get/Set
operations to copy byte data to and from the buffer regardless
of buffer contents.
Declaration Syntax
C# |
public abstract class DataBuffer : ISavable
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
DataBuffer()()()() |
|
|
ByteDataCopy |
Get the buffer as an array of bytes. This will always
return a new byte array snapshot.
|
|
CheckBounds(Int32) |
Checks the array bounds.
|
|
CheckIndex(Int32) |
Checks the index.
|
|
CheckIndex(Int32, Int32, Int32) |
Checks if the array can be accessed starting from its index and
the number of elements to process.
|
|
ElementSizeInBytes |
Get the size of a single element in the buffer in bytes.
|
|
ElementType |
Gets the element type contained in the buffer.
|
|
Equals(Object) |
(Inherited from Object.) |
|
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.) |
|
Get(array<Byte>[]()[][]) |
Relative get operation that copies byte store from the buffer.
|
|
Get(array<Byte>[]()[][], Int32) |
Relative get operation that copies byte store from the buffer.
|
|
Get(array<Byte>[]()[][], Int32, Int32) |
Relative get operation that copies byte store from the buffer.
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetNextIndex()()()() |
Gets the next valid index.
|
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
HasNext |
Get if this buffer'fullyQualifiedName position can be incremented to the next index.
|
|
Length |
Gets or protected sets the number of elements this buffer can contain.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Position |
Get or set the current buffer position. This index must
be between 0 and capacity - 1.
|
|
Read(ISavableReader) |
Deserializes the object and populates it from the input.
|
|
Set(array<Byte>[]()[][]) |
Relative set operation that copies byte data into the buffer.
|
|
Set(array<Byte>[]()[][], Int32) |
Relative set operation that copies byte data into the buffer.
|
|
Set(array<Byte>[]()[][], Int32, Int32) |
Relative set operation that copies by te data into the buffer.
|
|
SizeInBytes |
Get the entire size of the buffer contents in bytes.
|
|
ToString()()()() |
(Inherited from Object.) |
|
Write(ISavableWriter) |
Serializes the object and writes it to the output.
|
Inheritance Hierarchy
Object | ||
DataBuffer | ||
DataBuffer<(Of <(<'T>)>)> |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)