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 IBitStreampublic void setData(byte[] data)
setData in interface IBitStreampublic void byteAlign()
throws AACException
byteAlign in interface IBitStreamAACExceptionpublic void reset()
reset in interface IBitStreampublic int getPosition()
getPosition in interface IBitStreampublic int getBitsLeft()
getBitsLeft in interface IBitStreampublic int readBits(int n)
throws AACException
readBits in interface IBitStreamAACExceptionpublic int readBit()
throws AACException
readBit in interface IBitStreamAACExceptionpublic boolean readBool()
throws AACException
readBool in interface IBitStreamAACExceptionpublic int peekBits(int n)
throws AACException
peekBits in interface IBitStreamAACExceptionpublic int peekBit()
throws AACException
peekBit in interface IBitStreamAACExceptionpublic void skipBits(int n)
throws AACException
skipBits in interface IBitStreamAACExceptionpublic void skipBit()
throws AACException
skipBit in interface IBitStreamAACExceptionpublic int maskBits(int n)
maskBits in interface IBitStreamCopyright © 2019. All rights reserved.