/** * Checks if the current position is on a byte boundary, that is the next * bit in the byte array is the first bit in a byte. * * @return true if bit is on byte boundary, false otherwise. */ public boolean isBitOnByteBoundary() { return this.buffer.isBitOnByteBoundary(); }
/** * Checks if the current position is on a byte boundary, that is the next * bit in the byte array is the first bit in a byte. * * @return true if bit is on byte boundary, false otherwise. */ public boolean isBitOnByteBoundary() { return this.buffer.isBitOnByteBoundary(); }
if (len[i] > 8) { bb.getBits(8); if (!bb.isBitOnByteBoundary()){ LOGGER.info("Bit on byte boundary expected, but not returned.");