clear method
void
clear()
Clears the contents of the byte array and resets the length and position properties to 0.
Implementation
void clear() {
position = 0;
_bytes.length = 0;
_dataDirty = true;
}
Clears the contents of the byte array and resets the length and position properties to 0.
void clear() {
position = 0;
_bytes.length = 0;
_dataDirty = true;
}