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

net.sourceforge.jaad.aac.syntax.IBitStream Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package net.sourceforge.jaad.aac.syntax;

import net.sourceforge.jaad.aac.AACException;

/**
 * This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
 * under the Public Domain license. Code changes provided by the JCodec project
 * are distributed under FreeBSD license. 
 *
 * @author in-somnia
 */
public interface IBitStream {

    void destroy();

    void setData(byte[] data);

    void byteAlign() throws AACException;

    void reset();

    int getPosition();

    int getBitsLeft();

    int readBits(int n) throws AACException;

    int readBit() throws AACException;

    boolean readBool() throws AACException;

    int peekBits(int n) throws AACException;

    int peekBit() throws AACException;

    void skipBits(int n) throws AACException;

    void skipBit() throws AACException;

    int maskBits(int n);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy