operator [] method
Returns the byte at the specified index.
Example:
final bytes = Byte.fromList([10, 20, 30]);
print(bytes[1]); // 20
Throws RangeError if index is invalid.
Implementation
int operator [](int index) => _bytes[index];
Returns the byte at the specified index.
Example:
final bytes = Byte.fromList([10, 20, 30]);
print(bytes[1]); // 20
Throws RangeError if index is invalid.
int operator [](int index) => _bytes[index];