|
static final void | dumpData (final String prefix, final byte[] data, final int offset, final int len) |
|
static final void | dumpData (final String prefix, final ByteBuffer data, final int offset, final int len) |
|
static int | getOneBitCount (final String pattern) |
|
static String | toBinaryString (final int v, final int bitCount) |
|
static String | toBinaryString (final long v, final int bitCount) |
|
static String | toHexBinaryString (final int v, final int bitCount) |
|
static String | toHexBinaryString (final long v, final int bitCount) |
|
static String | toHexBinaryString (final short v, final int bitCount) |
|
static String | toHexString (final int v) |
|
static String | toHexString (final long v) |
|
static int | toInteger (final String bitPattern) |
|
static long | toLong (final String bitPattern) |
|
|
static final String[] | pyramid32bit_one |
|
static final String | strZeroPadding = "0000000000000000000000000000000000000000000000000000000000000000" |
|
static final byte[] | testBytesLSB = new byte[] { (byte)0x7f, (byte)0x53, (byte)0xf5, (byte)0x7b } |
|
static final byte[] | testBytesLSB_revByte = new byte[] { (byte)0x7b, (byte)0xf5, (byte)0x53, (byte)0x7f } |
|
static final byte[] | testBytesMSB = new byte[] { (byte)0xde, (byte)0xaf, (byte)0xca, (byte)0xfe } |
|
static final byte[] | testBytesMSB_rev = new byte[] { (byte)0xfe, (byte)0xca, (byte)0xaf, (byte)0xde } |
|
static final int | testIntLSB = 0x7f53f57b |
|
static final int | testIntLSB_revByte = 0x7bf5537f |
|
static final int | testIntMSB = 0xdeafcafe |
|
static final int | testIntMSB_rev = 0xfecaafde |
|
static final String | testStringLSB = testStringsLSB[0]+testStringsLSB[1]+testStringsLSB[2]+testStringsLSB[3] |
|
static final String | testStringLSB_revByte = testStringsLSB_revByte[0]+testStringsLSB_revByte[1]+testStringsLSB_revByte[2]+testStringsLSB_revByte[3] |
|
static final String | testStringMSB = testStringsMSB[0]+testStringsMSB[1]+testStringsMSB[2]+testStringsMSB[3] |
|
static final String | testStringMSB_rev = testStringsMSB_rev[0]+testStringsMSB_rev[1]+testStringsMSB_rev[2]+testStringsMSB_rev[3] |
|
static final String[] | testStringsLSB = new String[] { "01111111", "01010011", "11110101", "01111011" } |
|
static final String[] | testStringsLSB_revByte = new String[] { "01111011", "11110101", "01010011", "01111111" } |
|
static final String[] | testStringsMSB = new String[] { "11011110", "10101111", "11001010", "11111110" } |
|
static final String[] | testStringsMSB_rev = new String[] { "11111110", "11001010", "10101111", "11011110" } |
|
static final long | UNSIGNED_INT_MAX_VALUE = 0xffffffffL |
|
Definition at line 32 of file BitDemoData.java.
◆ dumpData() [1/2]
static final void jau.test.util.BitDemoData.dumpData |
( |
final String |
prefix, |
|
|
final byte[] |
data, |
|
|
final int |
offset, |
|
|
final int |
len |
|
) |
| |
|
static |
◆ dumpData() [2/2]
static final void jau.test.util.BitDemoData.dumpData |
( |
final String |
prefix, |
|
|
final ByteBuffer |
data, |
|
|
final int |
offset, |
|
|
final int |
len |
|
) |
| |
|
static |
◆ getOneBitCount()
static int jau.test.util.BitDemoData.getOneBitCount |
( |
final String |
pattern | ) |
|
|
static |
◆ toLong()
static long jau.test.util.BitDemoData.toLong |
( |
final String |
bitPattern | ) |
|
|
static |
◆ toInteger()
static int jau.test.util.BitDemoData.toInteger |
( |
final String |
bitPattern | ) |
|
|
static |
◆ toHexString() [1/2]
static String jau.test.util.BitDemoData.toHexString |
( |
final int |
v | ) |
|
|
static |
◆ toHexString() [2/2]
static String jau.test.util.BitDemoData.toHexString |
( |
final long |
v | ) |
|
|
static |
◆ toBinaryString() [1/2]
static String jau.test.util.BitDemoData.toBinaryString |
( |
final int |
v, |
|
|
final int |
bitCount |
|
) |
| |
|
static |
◆ toBinaryString() [2/2]
static String jau.test.util.BitDemoData.toBinaryString |
( |
final long |
v, |
|
|
final int |
bitCount |
|
) |
| |
|
static |
◆ toHexBinaryString() [1/3]
static String jau.test.util.BitDemoData.toHexBinaryString |
( |
final long |
v, |
|
|
final int |
bitCount |
|
) |
| |
|
static |
◆ toHexBinaryString() [2/3]
static String jau.test.util.BitDemoData.toHexBinaryString |
( |
final int |
v, |
|
|
final int |
bitCount |
|
) |
| |
|
static |
◆ toHexBinaryString() [3/3]
static String jau.test.util.BitDemoData.toHexBinaryString |
( |
final short |
v, |
|
|
final int |
bitCount |
|
) |
| |
|
static |
◆ UNSIGNED_INT_MAX_VALUE
final long jau.test.util.BitDemoData.UNSIGNED_INT_MAX_VALUE = 0xffffffffL |
|
static |
◆ pyramid32bit_one
final String [] jau.test.util.BitDemoData.pyramid32bit_one |
|
static |
◆ testBytesMSB
final byte [] jau.test.util.BitDemoData.testBytesMSB = new byte[] { (byte)0xde, (byte)0xaf, (byte)0xca, (byte)0xfe } |
|
static |
◆ testIntMSB
final int jau.test.util.BitDemoData.testIntMSB = 0xdeafcafe |
|
static |
◆ testStringsMSB
final String [] jau.test.util.BitDemoData.testStringsMSB = new String[] { "11011110", "10101111", "11001010", "11111110" } |
|
static |
◆ testStringMSB
◆ testBytesMSB_rev
final byte [] jau.test.util.BitDemoData.testBytesMSB_rev = new byte[] { (byte)0xfe, (byte)0xca, (byte)0xaf, (byte)0xde } |
|
static |
◆ testIntMSB_rev
final int jau.test.util.BitDemoData.testIntMSB_rev = 0xfecaafde |
|
static |
◆ testStringsMSB_rev
final String [] jau.test.util.BitDemoData.testStringsMSB_rev = new String[] { "11111110", "11001010", "10101111", "11011110" } |
|
static |
◆ testStringMSB_rev
◆ testBytesLSB
final byte [] jau.test.util.BitDemoData.testBytesLSB = new byte[] { (byte)0x7f, (byte)0x53, (byte)0xf5, (byte)0x7b } |
|
static |
◆ testIntLSB
final int jau.test.util.BitDemoData.testIntLSB = 0x7f53f57b |
|
static |
◆ testStringsLSB
final String [] jau.test.util.BitDemoData.testStringsLSB = new String[] { "01111111", "01010011", "11110101", "01111011" } |
|
static |
◆ testStringLSB
◆ testBytesLSB_revByte
final byte [] jau.test.util.BitDemoData.testBytesLSB_revByte = new byte[] { (byte)0x7b, (byte)0xf5, (byte)0x53, (byte)0x7f } |
|
static |
◆ testIntLSB_revByte
final int jau.test.util.BitDemoData.testIntLSB_revByte = 0x7bf5537f |
|
static |
◆ testStringsLSB_revByte
final String [] jau.test.util.BitDemoData.testStringsLSB_revByte = new String[] { "01111011", "11110101", "01010011", "01111111" } |
|
static |
◆ testStringLSB_revByte
◆ strZeroPadding
final String jau.test.util.BitDemoData.strZeroPadding = "0000000000000000000000000000000000000000000000000000000000000000" |
|
static |
The documentation for this class was generated from the following file: