public class PersistStream extends SerializeStream
contextaddress, array, FIRST_BOOT_UID, INITIAL_ARRAY_CAPACITY, limit, offset, REF_EMBEDDED, REF_NULL, REF_RECURSIVE, REF_RECURSIVE2| Constructor and Description |
|---|
PersistStream() |
PersistStream(byte[] array) |
PersistStream(int capacity) |
PersistStream(long address,
long length) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
alloc(int size) |
byte[] |
toByteArray() |
void |
writeObject(java.lang.Object obj) |
close, newScopeaddress, array, available, byteBuffer, count, flush, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readRef, readShort, readTo, readUnsignedByte, readUnsignedShort, readUTF, register, skip, skipBytes, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeFrom, writeInt, writeLong, writeShort, writeUTFpublic PersistStream()
public PersistStream(int capacity)
public PersistStream(byte[] array)
public PersistStream(long address,
long length)
public byte[] toByteArray()
public void writeObject(java.lang.Object obj)
throws java.io.IOException
writeObject in interface java.io.ObjectOutputwriteObject in class SerializeStreamjava.io.IOExceptionprotected long alloc(int size)
throws java.io.IOException
alloc in class DataStreamjava.io.IOException