private boolean _readAllBytes() {
        return bytesRead >= contentLength || eofReached;
    }
Marks the input stream as EOF since no further reads should be done.

@param e Exception thrown by delegate stream.
@return Noting, just for return signature.
@throws IOException or {@link RuntimeException}
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3AbortableInputStream.java