operator [] method
Gets the byte at index
.
This method does not expand the buffer if it reached its constraints.
Exceptions:
- ReadIndexOutOfRangeException if
index
is outside the bounds of the buffer.
Implementation
int operator [](int index) {
return getByte(index);
}