Lines Matching full:unusedbits
41 public final int unusedBits;
46 * @param unusedBits number of unused bits
49 public BitString(byte[] bytes, int unusedBits) {
51 if (unusedBits < 0 || unusedBits > 7) {
55 if (bytes.length == 0 && unusedBits != 0) {
60 this.unusedBits = unusedBits;
64 unusedBits = values.length % 8;
66 if (unusedBits != 0) {
92 boolean[] result = new boolean[bytes.length * 8 - unusedBits];