Class DataBufferSubset
A subset of a DataBuffer.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class DataBufferSubset : DataBuffer
Properties
Data
Gets the data.
Declaration
public override byte[] Data { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Overrides
IsPooled
Gets whether this DataBuffer is from a pool.
Declaration
public override bool IsPooled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsSubset
Gets whether this DataBuffer is a subset.
Declaration
public override bool IsSubset { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Parent
Gets the Subset parent.
Declaration
public DataBuffer Parent { get; }
Property Value
Type | Description |
---|---|
DataBuffer |
Methods
Append(DataBuffer)
Appends a buffer.
Declaration
public override DataBuffer Append(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | buffer | The buffer. |
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Append(DataBuffer[])
Appends some buffers.
Declaration
public override DataBuffer Append(DataBuffer[] buffers)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer[] | buffers | The buffers. |
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Free()
Decrements the retain count by one and returns the Buffer to the pool if zero.
Declaration
public override DataBuffer Free()
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Keep()
Increment the retain count by one.
Declaration
public override DataBuffer Keep()
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Prepend(DataBuffer)
Prepends a buffer.
Declaration
public override DataBuffer Prepend(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | buffer | The buffer. |
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Prepend(DataBuffer[])
Prepends some buffers.
Declaration
public override void Prepend(DataBuffer[] buffers)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer[] | buffers | The buffers. |
Overrides
Subset(Int32)
Gets a subset of this instance.
Declaration
public override DataBuffer Subset(int offset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | offset | The offset. |
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
Subset(Int32, Int32)
Gets a subset of this instance.
Declaration
public override DataBuffer Subset(int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | offset | The offset. |
System.Int32 | length | The length. |
Returns
Type | Description |
---|---|
DataBuffer |