@SdkTestInternalApi
    boolean isEofReached() {
        return this.eofReached;
    }
Exposed for tests to verify the correct number of bytes were read in mark/reset scenarios.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3AbortableInputStream.java