Lines Matching defs:data
59 * Return byte array containing accumulated data, sized to just fit.
84 * Write some data and increment the current position.
89 * @param bits the amount of data to write (gte 0, lte 8)
90 * @param data to write, will be masked to expose only bits param from lsb
92 public void write(int bits, int data) throws AccessException {
97 data &= (-1 >>> (32 - bits));
100 data <<= offset;
102 mBuf[index] |= data >>> 8;
103 if (offset < 8) mBuf[index + 1] |= data & 0xFF;
107 * Write data in bulk from a byte array and increment the current position.
109 * @param bits the amount of data to write
110 * @param arr the byte array containing data to be written