public abstract class BinaryConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_ARRAY |
static JsonReader.ReadObject<byte[]> |
READER |
static JsonWriter.WriteObject<byte[]> |
WRITER |
| Constructor and Description |
|---|
BinaryConverter() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final JsonReader.ReadObject<byte[]> READER
public static final JsonWriter.WriteObject<byte[]> WRITER
public static final byte[] EMPTY_ARRAY
public static void serialize(@Nullable byte[] value, JsonWriter sw)
public static byte[] deserialize(JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<byte[]> deserializeCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeCollection(JsonReader reader, Collection<byte[]> res) throws IOException
IOExceptionpublic static ArrayList<byte[]> deserializeNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeNullableCollection(JsonReader reader, Collection<byte[]> res) throws IOException
IOExceptionCopyright © 2023. All rights reserved.