writeAt method
Writes a value
at index
.
The bytes offset is calculated by index
*
bytesPerValue.
Implementation
void writeAt(int index, T value) {
checkClosed();
var offset = index * bytesPerValue;
writeToByteData(_byteData, offset, value);
}