@Singleton public static class GsonModule.HexByteArrayAdapter extends GsonModule.ByteArrayAdapter
| Constructor and Description |
|---|
HexByteArrayAdapter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter writer,
byte[] value) |
public void write(com.google.gson.stream.JsonWriter writer,
byte[] value)
throws IOException
write in class com.google.gson.TypeAdapter<byte[]>IOExceptionpublic byte[] read(com.google.gson.stream.JsonReader reader)
throws IOException
read in class com.google.gson.TypeAdapter<byte[]>IOExceptionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.