public class ByteAdapter
extends <any>
| Constructor and Description |
|---|
ByteAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
byteArrayToHexString(byte[] bytes) |
static byte[] |
hexStringToByteArray(java.lang.String s) |
byte[] |
read(JsonReader reader) |
void |
write(JsonWriter writer,
byte[] bytes) |
public byte[] read(JsonReader reader)
throws java.io.IOException
java.io.IOExceptionpublic void write(JsonWriter writer,
byte[] bytes)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String byteArrayToHexString(byte[] bytes)
public static byte[] hexStringToByteArray(java.lang.String s)