| Modifier and Type | Class and Description |
|---|---|
| public static class | Bitstream.
Specific |
| public static class | Bitstream.
Specific |
| public static class | Bitstream.
Specific |
| public static class | Bitstream.
Specific |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private int | bitBuffer
8-bit cache of byte stream |
| private int | |
| private int | |
| private int | |
| private Bitstream. | |
| private static final boolean | |
| public static final int | EOS
End of stream marker, or 0xFFFFFFFF |
| private boolean | |
| private static final String | |
| private boolean | |
| private static final boolean | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| public final boolean | |
| public static void | |
| public final void | |
| public final int | Returns: EOS caused by writing, otherwise zero.Synchronizes all underlying |
| public final int | |
| public final int | getBitCount()
Number of remaining bits in cache to read before next byte-read (input mode) or number of remaining bits to be cached before next byte-write (output mode). |
| public final int | |
| public final int | |
| public final Bitstream. | |
| public final T | |
| public final boolean | getThrowIOExceptionOnEOF()
Returns true if I/O methods throw an |
| public final void | |
| public final long | |
| public final long | Returns: The new set position orBitstream#EOS if end-of-stream is reached.The new positive position. newPosition)Sets this stream's bit position. |
| public final int | |
| public int | Returns: the read bits from 0-n in the given order orEOS.number of bits, maximum 31 bits n)Return incoming bits as read via |
| public final int | Returns: EOS or the 16bit unsigned value within the lower bits.if true, swap incoming bytes to little-endian, otherwise leave them as little-endian. bigEndian)Return incoming |
| public static final int | Returns: the 16bit unsigned value within the lower bits.if false, swap incoming bytes to little-endian, otherwise leave them as big-endian. bigEndian, final byte[] bytes, final int offset)Return incoming |
| public final long | Returns: EOS or the 32bit unsigned value within the lower bits.if true, swap incoming bytes to little-endian, otherwise leave them as little-endian. bigEndian)Return incoming |
| public static final long | Returns: the 32bit unsigned value within the lower bits.if false, swap incoming bytes to little-endian, otherwise leave them as big-endian. bigEndian, final byte[] bytes, final int offset)Return incoming |
| public final int | Returns: EOS or the 8bit unsigned value within the lower bits.Return incoming |
| public final void | |
| private final void | |
| public final void | |
| public final void | setThrowIOExceptionOnEOF(final boolean enable)
Enables or disables throwing an |
| public long | Returns: actual skipped bitsnumber of bits to skip n)It is implementation dependent, whether backward skip giving a negative number is supported or not. |
| public static String | |
| public static String | |
| public static final String | |
| public static final String | |
| public String | |
| protected String | |
| public static final int | toUInt32Int(final int int32)
Returns the reinterpreted given |
| public static final long | toUInt32Long(final int int32)
Reinterpret the given final long l = 0xffffffffL & int32; |
| public static final int | uint32LongToInt(final long uint32)
Returns the given |
| private final void | |
| public final int | |
| public int | Returns: the written bits orEOS.number of bits, maximum 31 bits n, final int the bits to write bits)Write the given bits via |
| public final int | Returns: EOS or the written 16bit value.if true, swap given bytes to little-endian, otherwise leave them as little-endian. bigEndian, final short int16)Write the given 16 bits via |
| public final int | Returns: EOS or the written 32bit value.if true, swap given bytes to little-endian, otherwise leave them as little-endian. bigEndian, final int int32)Write the given 32 bits via |
| public final int | Returns: EOS or the written 8bit value.Write the given 8 bits via |