public override void close() { int size = _out.size(); _out.close(); if (size < _contentLength) { throw new IOException("Cannot close stream until all bytes are written."); } }
public override void close() { int size = _out.size(); _out.close(); if (size < _contentLength) { throw new IOException("Cannot close stream until all bytes are written."); } }