}
@Override
public InputStream getInputStreamUnbuffered() throws IOException {
if(size() == 0) return new NullInputStream();
if(isFreed){
throw new IOException("This RandomAccessBuffer has already been closed. This should not"
+ " happen.");
}
InputStream is = underlying.getInputStreamUnbuffered();