Lines Matching defs:bytes
149 * shall be left justified. Unused bytes shall be set to 'FF'; or
307 * @param bytes an array of bytes
309 * @return hex string representation of bytes array
312 bytesToHexString(byte[] bytes) {
313 if (bytes == null) return null;
315 StringBuilder ret = new StringBuilder(2*bytes.length);
317 for (int i = 0 ; i < bytes.length ; i++) {
320 b = 0x0f & (bytes[i] >> 4);
324 b = 0x0f & bytes[i];
516 int endIndex = offset + (number * 3); // 1 color use 3 bytes