public final class SixBit extends Object
Constructor and Description |
---|
SixBit() |
Modifier and Type | Method and Description |
---|---|
static void |
convertSixBitToBits(String str,
int padBits,
boolean[] bitSet,
boolean[] calculated,
int from,
int to)
Converts sixBit string characters to bits (boolean values in the array
bitSet) but just between the bit range
from to to
exclusive. |
static long |
getSignedValue(int from,
int to,
boolean[] bitSet) |
static String |
getString(int from,
int to,
boolean[] bitSet) |
static long |
getValue(int from,
int to,
boolean[] bitSet) |
public static void convertSixBitToBits(String str, int padBits, boolean[] bitSet, boolean[] calculated, int from, int to)
from
to to
exclusive.str
- padBits
- bitSet
- calculated
- from
- to
- public static long getValue(int from, int to, boolean[] bitSet)
public static long getSignedValue(int from, int to, boolean[] bitSet)
public static String getString(int from, int to, boolean[] bitSet)
Copyright © 2020. All rights reserved.