public class UTF8Modified
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG_LEV
For debugging: Higher value equals more output, generally by increments
of 10
|
Constructor and Description |
---|
UTF8Modified()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
convertToExtendedUTF8(long value)
Convert a value to an extended UTF8 format(as used in FLAC).
|
static long |
decodeFromExtendedUTF8(byte[] input)
Decode an extended UTF8(as used in FLAC), to a long value.
|
public static int DEBUG_LEV
public UTF8Modified()
public static long decodeFromExtendedUTF8(byte[] input)
input
- extended UTF8 encoded value.public static byte[] convertToExtendedUTF8(long value)
value
- value to convert to extended UTF8(value must be positive
and 36 bits or less in size)