Class FixedSizeBufferExtensions
Extension methods for fixed size buffers.
Inheritance
- Object
- FixedSizeBufferExtensions
Declaration
public static class FixedSizeBufferExtensions : Object
Methods
ItemRef<T>(ref FixedSizeBuffer1024<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer1024<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer128<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer128<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer16<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer16<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer2<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer2<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer2048<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer2048<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer256<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer256<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer32<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer32<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer4<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer4<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer4096<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer4096<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer512<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer512<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer64<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer64<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer8<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer8<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |
ItemRef<T>(ref FixedSizeBuffer8192<T>, Int32)
Returns a reference to the item at offset index
.
Declaration
public static T ItemRef<T>(this ref FixedSizeBuffer8192<T> buffer, int index)
Parameters
Type | Name | Description |
---|---|---|
buffer |
The buffer |
|
index |
The index |
Returns
Type | Description |
---|---|
T |
A reference to the item at offset |
Type Parameters
Name | Description |
---|---|
T |
The type of the elements in the buffer |