All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skadistats.clarity.io.decoder.LongUnsignedDecoder Maven / Gradle / Ivy

package skadistats.clarity.io.decoder;

import skadistats.clarity.io.bitstream.BitStream;

public class LongUnsignedDecoder implements Decoder {

    private final int nBits;

    public LongUnsignedDecoder(int nBits) {
        this.nBits = nBits;
    }

    @Override
    public Long decode(BitStream bs) {
        return bs.readUBitLong(nBits);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy