|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dellroad.lzma.client.UTF8
public final class UTF8
Encodes and decodes strings to/from binary using "modified UTF-8 encoding". This is the same encoding as is used by Java class files.
| Method Summary | |
|---|---|
static String |
decode(byte[] utf)
Decode the given UTF-8 data. |
static byte[] |
encode(String s)
Encode the given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] encode(String s)
public static String decode(byte[] utf)
IllegalArgumentException - if the UTF-8 input is invalid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||