readAt method
Reads a value from index.
The bytes offset is calculated by index * bytesPerValue.
Implementation
T? readAt(int index) {
checkClosed();
var offset = index * bytesPerValue;
return readFromByteData(_byteData, offset);
}
Reads a value from index.
The bytes offset is calculated by index * bytesPerValue.
T? readAt(int index) {
checkClosed();
var offset = index * bytesPerValue;
return readFromByteData(_byteData, offset);
}