public class NIOBitStream extends Object implements IBitStream
Constructor and Description |
---|
NIOBitStream(BitReader br) |
Modifier and Type | Method and Description |
---|---|
void |
byteAlign() |
void |
destroy() |
int |
getBitsLeft() |
int |
getPosition() |
int |
maskBits(int n) |
int |
peekBit() |
int |
peekBits(int n) |
int |
readBit() |
int |
readBits(int n) |
boolean |
readBool() |
void |
reset() |
void |
setData(byte[] data) |
void |
skipBit() |
void |
skipBits(int n) |
public NIOBitStream(BitReader br)
public void destroy()
destroy
in interface IBitStream
public void setData(byte[] data)
setData
in interface IBitStream
public void byteAlign() throws AACException
byteAlign
in interface IBitStream
AACException
public void reset()
reset
in interface IBitStream
public int getPosition()
getPosition
in interface IBitStream
public int getBitsLeft()
getBitsLeft
in interface IBitStream
public int readBits(int n) throws AACException
readBits
in interface IBitStream
AACException
public int readBit() throws AACException
readBit
in interface IBitStream
AACException
public boolean readBool() throws AACException
readBool
in interface IBitStream
AACException
public int peekBits(int n) throws AACException
peekBits
in interface IBitStream
AACException
public int peekBit() throws AACException
peekBit
in interface IBitStream
AACException
public void skipBits(int n) throws AACException
skipBits
in interface IBitStream
AACException
public void skipBit() throws AACException
skipBit
in interface IBitStream
AACException
public int maskBits(int n)
maskBits
in interface IBitStream
Copyright © 2019. All rights reserved.