Package com.algorand.algosdk.kmd.client
Class JSON.ByteArrayAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<byte[]>
-
- com.algorand.algosdk.kmd.client.JSON.ByteArrayAdapter
-
- Enclosing class:
- JSON
public class JSON.ByteArrayAdapter extends com.google.gson.TypeAdapter<byte[]>
Gson TypeAdapter for Byte Array type
-
-
Constructor Summary
Constructors Constructor Description ByteArrayAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
read(com.google.gson.stream.JsonReader in)
void
write(com.google.gson.stream.JsonWriter out, byte[] value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, byte[] value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-
read
public byte[] read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-
-