rewind method Null safety
- [int length = 1]
override
Rewind the read head of the stream by the given number of bytes.
Implementation
@override
void rewind([int length = 1]) {
offset -= length;
if (offset < 0) {
offset = 0;
}
}
Rewind the read head of the stream by the given number of bytes.
@override
void rewind([int length = 1]) {
offset -= length;
if (offset < 0) {
offset = 0;
}
}