/** * Marks this stream as closed. * This implementation does <em>not</em> close the underlying stream. */ @Override public void close() throws IOException { // NOTE: Do not close the underlying stream while (bytesLeft > 0) { //noinspection ResultOfMethodCallIgnored skip(bytesLeft); } }
/** * Marks this stream as closed. * This implementation does <em>not</em> close the underlying stream. */ @Override public void close() throws IOException { // NOTE: Do not close the underlying stream while (mLeft > 0) { //noinspection ResultOfMethodCallIgnored skip(mLeft); } }
/** * Marks this stream as closed. * This implementation does <em>not</em> close the underlying stream. */ @Override public void close() throws IOException { // NOTE: Do not close the underlying stream while (bytesLeft > 0) { //noinspection ResultOfMethodCallIgnored skip(bytesLeft); } }