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