read method Null safety
Returns the next unsigned byte, or -1 on EOF
Implementation
Future<int> read() async {
if (await isEOF()) {
return -1;
} else {
return _curr![_pos++];
}
}
Returns the next unsigned byte, or -1 on EOF
Future<int> read() async {
if (await isEOF()) {
return -1;
} else {
return _curr![_pos++];
}
}