Class Unzipper

  • All Implemented Interfaces:
    None, PostMortem

    public class Unzipper
    extends JSONzip
    JSONzip is a binary compression scheme for JSON text.
    • Constructor Detail

      • Unzipper

        public Unzipper​(BitReader bitreader)
        Create a new unzipper. It may be used for an entire session or subsession.
        Parameters:
        bitreader - The bitreader that this decoder will read from.
    • Method Detail

      • pad

        public boolean pad​(int width)
                    throws JSONException
        The pad method skips the bits that padded a stream to fit some allocation. pad(8) will skip over the remainder of a byte.
        Parameters:
        width - The width of the pad field in bits.
        Returns:
        true if all of the padding bits were zero.
        Throws:
        JSONException