Lines Matching refs:bytes
44 public final byte[] bytes;
54 * @param bytes - array of bytes that represents bit string,
59 public BitString(byte[] bytes, int unusedBits) {
67 if (bytes.length == 0 && unusedBits != 0) {
72 this.bytes = bytes;
87 bytes = new byte[size];
96 return (bytes[index] & SET_MASK[offset]) != 0;
103 bytes[index] |= SET_MASK[offset];
105 bytes[index] &= RESET_MASK[offset];
110 boolean[] result = new boolean[bytes.length * 8 - unusedBits];