public class RandomGUID extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fromByteArray(byte[] ba)
Returns a uuid / guid for a given byte array.
|
static String |
getPrettyFormatted(String str)
Returns a nice neat formatted string.
|
static byte[] |
toByteArray(String uid)
Returns a byte array for the given uuid or guid.
|
public static final byte[] toByteArray(String uid)
uid - unique idpublic static String fromByteArray(byte[] ba)
ba - array of bytes containing the idCopyright © 2005–2016 Red5. All rights reserved.