|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface YAMISerializable
Common interface for serializable entities in YAMI.
Method Summary | |
---|---|
java.util.List<byte[]> |
serialize(int chunkSize)
Serializes the content of this object. |
Method Detail |
---|
java.util.List<byte[]> serialize(int chunkSize)
The content is serialized into chunks of the given size, after serialization only the last chunk can be smaller than the requested size.
chunkSize
- chunk size, should be a multiple of 4
or Integer.MAX_VALUE
java.lang.IllegalArgumentException
- if requested chunk size
is not a multiple of 4 and is not
Integer.MAX_VALUE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |