Lines Matching defs:off
54 * @param off the offset in the buffer at which to start reading.
58 public static int readInt(byte[] buf, int off) {
63 int b1 = buf[off++];
74 int value = buf[off++] & 0xFF;
76 value |= (buf[off++] & 0xFF) << 8;
78 value |= (buf[off++] & 0xFF) << 16;
80 value |= (buf[off++] & 0xFF) << 24;
93 * @param off the offset in the buffer at which to start reading.
97 public static long readLong(byte[] buf, int off) {
102 int b1 = buf[off++];
113 long value = buf[off++] & 0xFFL;
115 value |= (buf[off++] & 0xFFL) << 8;
117 value |= (buf[off++] & 0xFFL) << 16;
119 value |= (buf[off++] & 0xFFL) << 24;
121 value |= (buf[off++] & 0xFFL) << 32;
123 value |= (buf[off++] & 0xFFL) << 40;
125 value |= (buf[off++] & 0xFFL) << 48;
127 value |= (buf[off++] & 0xFFL) << 56;
148 * @param off the offset in the buffer at which to start reading.
152 public static int getReadIntLength(byte[] buf, int off) {
154 int b1 = buf[off];
173 * @param off the offset in the buffer at which to start reading.
177 public static int getReadLongLength(byte[] buf, int off) {
180 return getReadIntLength(buf, off);