| |
|
| java.lang.Object jdbm.helper.ByteArraySerializer
ByteArraySerializer | final public class ByteArraySerializer implements Serializer(Code) | | Serializer for byte arrays -- simple returns the byte array itself. No actual
serialization is performed.
author: Alex Boisvert version: $Id: ByteArraySerializer.java,v 1.1 2003/03/21 02:48:42 boisvert Exp $ |
Method Summary | |
public Object | deserialize(byte[] serialized) Deserialize the content of an object from a byte array. | public byte[] | serialize(Object obj) Serialize the content of an object into a byte array. |
serialVersionUID | final static long serialVersionUID(Code) | | Version id for serialization.
|
deserialize | public Object deserialize(byte[] serialized) throws IOException(Code) | | Deserialize the content of an object from a byte array.
Parameters: serialized - Byte array representation of the object deserialized object |
serialize | public byte[] serialize(Object obj) throws IOException(Code) | | Serialize the content of an object into a byte array.
Parameters: obj - Object to serialize a byte array representing the object's state |
|
|
|