@HandleClassMetadata @HandleBeanView public static final class DefaultConverters.ByteConverter extends Object implements Converter<Byte>
Modifier and Type | Field and Description |
---|---|
static DefaultConverters.ByteConverter |
instance |
Modifier and Type | Method and Description |
---|---|
Byte |
deserialize(ObjectReader reader,
Context ctx) |
void |
serialize(Byte obj,
ObjectWriter writer,
Context ctx) |
public static final DefaultConverters.ByteConverter instance
public void serialize(Byte obj, ObjectWriter writer, Context ctx)
serialize
in interface Converter<Byte>
serialize
in interface Serializer<Byte>
obj
- we want to serialize. The object is of type T or a subclass (if this serializer
has been registered for subclasses).writer
- to use to write data to the output stream.ctx
- the current context.public Byte deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<Byte>
deserialize
in interface Deserializer<Byte>
reader
- used to read data from.ctx
- the current context.Copyright © 2019. All rights reserved.