reset method
After calling this method, writer will be reset and write from the beginning.
@return This writer
ignore: avoid_returning_this
Implementation
BinaryWriter reset() {
_bytes.clear();
_position = 0;
return this;
}
After calling this method, writer will be reset and write from the beginning.
@return This writer
ignore: avoid_returning_this
BinaryWriter reset() {
_bytes.clear();
_position = 0;
return this;
}