@Singleton public static class GsonModule.HexByteArrayAdapter extends GsonModule.ByteArrayAdapter
Constructor and Description |
---|
GsonModule.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[]>
IOException
public byte[] read(com.google.gson.stream.JsonReader reader) throws IOException
read
in class com.google.gson.TypeAdapter<byte[]>
IOException
Copyright © 2009-2012 jclouds. All Rights Reserved.