Interface ByteBufferBackedDataInput

    • Method Detail

      • buffer

        ByteBuffer buffer()
        Returns:
        ByteBuffer hold by data input
      • ensure

        void ensure​(int requested)
             throws IOException
        ensure that requested count of byte is available in data input and will try to load data if not
        Parameters:
        requested - Requested number of bytes.
        Throws:
        IOException - If failed.