void putAt(int index, int byte) { if (index < 0 || index >= _bytes.length) throw RangeError("index $index out of bounds"); _bytes[index] = byte & 0xFF; }