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.IOException
public void write(JsonWriter writer, byte[] bytes) throws java.io.IOException
java.io.IOException
public static java.lang.String byteArrayToHexString(byte[] bytes)
public static byte[] hexStringToByteArray(java.lang.String s)