public interface Unboxed<V extends java.io.Serializable>
Modifier and Type | Method and Description |
---|---|
V |
deserialize(byte[] buf,
int ofs)
Deserialize a value; need not be compatible with V.readObject()!
|
int |
getSize()
Return the size, in bytes, of a value; all values must have the same size
|
void |
serialize(V v,
byte[] buf,
int ofs)
Serialize a value; need not be compatible with V.writeObject()!
|
int getSize()
V deserialize(byte[] buf, int ofs)
void serialize(V v, byte[] buf, int ofs)