| Buffer: SetByte |
Sets the byte value at a given byte index within the array.
Public Sub SetByte( ByRef Arr As Variant, ByVal Index As Long, ByVal Value As Byte )
The index is based on bytes, not the size of the actual array elements. For example: if setting the byte of a Long array at index 3 , then the upper 8-bits of the first element will be set.
The lower-bound of the array is ignored. Index begins at 0.
| Exception | Condition |
|---|---|
| ArgumentNullException | Arr is unintialized. |
| ArgumentException | Arr is not an array. |
| ArgumentOutOfRangeException | Index is negative or greater than the length of Arr. |