List of utility methods to do Bit String From
int shift = 1; char[] buf = new char[64]; int charPos = 64; int radix = 1 << shift; int mask = radix - 1; do { buf[--charPos] = digits[(int) (i & mask)]; i >>>= shift; ...