memset method Null safety
Set a range of bytes in this buffer to value
, at start
offset from the
current read position, and length
number of bytes.
Implementation
void memset(int start, int length, int value) {
buffer.fillRange(offset + start, offset + start + length, value);
}