/** * Return the next unique uuid value as a 32-character hex string. */ public static String nextHex(int type) { return Base16Encoder.encode(next(type)); }
byte[] bytes = Base16Encoder.decode(str); ByteArrayInputStream bais = new ByteArrayInputStream(bytes); ObjectInputStream ois = new ObjectInputStream(bais);
byte[] bytes = Base16Encoder.decode(str); ByteArrayInputStream bais = new ByteArrayInputStream(bytes); ObjectInputStream ois = new ObjectInputStream(bais);
/** * Return the next unique uuid value as a 32-character hex string. */ public static String nextHex(int type) { return Base16Encoder.encode(next(type)); }
/** * Return the next unique uuid value as a 32-character hex string. */ public static String nextHex() { return Base16Encoder.encode(next()); }
/** * Return the next unique uuid value as a 32-character hex string. */ public static String nextHex(int type) { return Base16Encoder.encode(next(type)); }
oos.writeObject(val); oos.close(); out.write(Base16Encoder.encode(baos.toByteArray())); break;
oos.writeObject(val); oos.close(); out.write(Base16Encoder.encode(baos.toByteArray())); break;