Package dap4.dap4lib

Class DeChunkedInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class DeChunkedInputStream
    extends InputStream
    This class transforms a chunked input stream to a de-chunked input stream. Given the input stream, produce a ByteBuffer with all chunking information removed. There are two special cases. 1. Error chunk -- cache the error chunk as text and provide accessors to obtain it. 2. DMR -- cache the DMR, whatever the mode, and provide accessors.