Searched refs:iw (Results 1 – 1 of 1) sorted by relevance
494 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() argument495 assert (iw > 0 && iw <= 8): "input NUB must be between 1 and 8"; in pack()498 if (iw == ow) { in pack()502 int bits = ilength * iw; // number of all used bits in pack()512 int count = iw - ipos%iw; // unpacked bits in current input byte in pack()518 … (((in[ioffset+ipos/iw]+256) // locate the byte (+256 so that it's never negative) in pack()519 >> (iw-ipos%iw-count)) // move to the end of a byte in pack()