public class BigIntegerSerializer extends Object implements Serializer
Constructor and Description |
---|
BigIntegerSerializer() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bigIntBytes)
Deserialize the content of an object from a byte array.
|
byte[] |
serialize(Object bigInt)
Serialize the content of an object into a byte array.
|
public Object deserialize(byte[] bigIntBytes) throws IOException
Serializer
deserialize
in interface Serializer
bigIntBytes
- Byte array representation of the objectIOException
public byte[] serialize(Object bigInt) throws IOException
Serializer
serialize
in interface Serializer
bigInt
- Object to serializeIOException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.