@HandleClassMetadata @HandleBeanView public static class DefaultConverters.BigIntegerConverter extends Object implements Converter<BigInteger>
Modifier and Type | Field and Description |
---|---|
static DefaultConverters.BigIntegerConverter |
instance |
Modifier and Type | Method and Description |
---|---|
BigInteger |
deserialize(ObjectReader reader,
Context ctx) |
void |
serialize(BigInteger object,
ObjectWriter writer,
Context ctx) |
public static final DefaultConverters.BigIntegerConverter instance
public BigInteger deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<BigInteger>
deserialize
in interface Deserializer<BigInteger>
reader
- used to read data from.ctx
- the current context.public void serialize(BigInteger object, ObjectWriter writer, Context ctx)
serialize
in interface Converter<BigInteger>
serialize
in interface Serializer<BigInteger>
object
- 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.Copyright © 2019. All rights reserved.