com.dslplatform.json
Class BinaryConverter

java.lang.Object
  extended by com.dslplatform.json.BinaryConverter

public abstract class BinaryConverter
extends Object


Constructor Summary
BinaryConverter()
           
 
Method Summary
static byte[] deserialize(JsonReader reader)
           
static ArrayList<byte[]> deserializeCollection(JsonReader reader)
           
static void deserializeCollection(JsonReader reader, Collection<byte[]> res)
           
static ArrayList<byte[]> deserializeNullableCollection(JsonReader reader)
           
static void deserializeNullableCollection(JsonReader reader, Collection<byte[]> res)
           
static void serialize(byte[] value, JsonWriter sw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryConverter

public BinaryConverter()
Method Detail

serialize

public static void serialize(@Nullable
                             byte[] value,
                             JsonWriter sw)

deserialize

public static byte[] deserialize(JsonReader reader)
                          throws IOException
Throws:
IOException

deserializeCollection

public static ArrayList<byte[]> deserializeCollection(JsonReader reader)
                                               throws IOException
Throws:
IOException

deserializeCollection

public static void deserializeCollection(JsonReader reader,
                                         Collection<byte[]> res)
                                  throws IOException
Throws:
IOException

deserializeNullableCollection

public static ArrayList<byte[]> deserializeNullableCollection(JsonReader reader)
                                                       throws IOException
Throws:
IOException

deserializeNullableCollection

public static void deserializeNullableCollection(JsonReader reader,
                                                 Collection<byte[]> res)
                                          throws IOException
Throws:
IOException


Copyright © 2019. All rights reserved.