checkClosed method
- @protected
Checks if the reader is closed and throws an exception if it is.
Implementation
@protected
void checkClosed() {
if (_closed) {
throw StreamClosedException();
}
}
Checks if the reader is closed and throws an exception if it is.
@protected
void checkClosed() {
if (_closed) {
throw StreamClosedException();
}
}