Class BlobInputStream

    • Method Detail

      • dispatchRead

        protected ByteBuffer dispatchRead​(int readLength,
                                          long offset)
                                   throws IOException
        Dispatches a read operation of N bytes. When using sparse page blobs, the page ranges are evaluated and zero bytes may be generated on the client side for some ranges that do not exist.
        Specified by:
        dispatchRead in class StorageInputStream
        Parameters:
        readLength - An int which represents the number of bytes to read.
        Throws:
        IOException - If an I/O error occurs.