Lines Matching refs:byteOffset
149 * @param byteOffset the offset into the byte array at which
167 public static int bytesToChars(byte[] bytes, int byteOffset,
173 len += isByteLen ? byteOffset : charOffset;
174 while ((isByteLen ? byteOffset : charOffset) < len) {
175 char1 = bytes[byteOffset++] & 0xff;
181 char2 = bytes[byteOffset++];
189 char2 = bytes[byteOffset++];
190 char3 = bytes[byteOffset++];
201 return byteOffset;
214 * @param byteOffset the offset into bytes at which to begin the copy
219 byte[] bytes, int byteOffset,
225 bytes[byteOffset++] = (byte) c;
227 bytes[byteOffset++] = (byte) (0xE0 | ((c >> 12) & 0x0F));
228 bytes[byteOffset++] = (byte) (0x80 | ((c >> 6) & 0x3F));
229 bytes[byteOffset++] = (byte) (0x80 | ((c >> 0) & 0x3F));
231 bytes[byteOffset++] = (byte) (0xC0 | ((c >> 6) & 0x1F));
232 bytes[byteOffset++] = (byte) (0x80 | ((c >> 0) & 0x3F));