|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.serialization.SlopSerializer
public class SlopSerializer
A Serializer for writing Slops
Constructor Summary | |
---|---|
SlopSerializer()
|
Method Summary | |
---|---|
byte[] |
toBytes(Slop slop)
Construct an array of bytes from the given object |
Slop |
toObject(byte[] bytes)
Create an object from an array of bytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SlopSerializer()
Method Detail |
---|
public byte[] toBytes(Slop slop)
Serializer
toBytes
in interface Serializer<Slop>
slop
- The object
public Slop toObject(byte[] bytes)
Serializer
toObject
in interface Serializer<Slop>
bytes
- An array of bytes with the objects data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |