Property this
this[int]
The byte at an index.
Declaration
public byte this[int index] { readonly get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | A zero-based byte index. |
Property Value
| Type | Description |
|---|---|
| byte | The byte at the index. |
Implements
Exceptions
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the index is out of bounds. |
| NotSupportedException | Thrown if ENABLE_UNITY_COLLECTIONS_CHECKS is defined and a write is attempted. |