public class LibUUID extends Object
| Constructor and Description |
|---|
LibUUID() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
uuidAsBytes(long mostSignificantBits,
long leastSignificantBits)
UUID, as two longs, as bytes
|
static byte[] |
uuidAsBytes(String str)
A UUID string to bytes
|
static byte[] |
uuidAsBytes(UUID uuid)
Generate bytes for a Java UUID (most significant first)
|
static String |
uuidToString(long mostSignificantBits,
long leastSignificantBits)
UUID, as two longs, in RFC string format
|
public static byte[] uuidAsBytes(UUID uuid)
public static byte[] uuidAsBytes(long mostSignificantBits,
long leastSignificantBits)
public static byte[] uuidAsBytes(String str)
public static String uuidToString(long mostSignificantBits, long leastSignificantBits)
Licensed under the Apache License, Version 2.0