Class SdkLengthAwareInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class SdkLengthAwareInputStream
    extends FilterInputStream
    An InputStream that is aware of its length. The main purpose of this class is to support truncating streams to a length that is shorter than the total length of the stream.