public class SerializeStream extends DataStream
| Modifier and Type | Field and Description |
|---|---|
protected SerializationContext |
context |
address, array, FIRST_BOOT_UID, INITIAL_ARRAY_CAPACITY, limit, offset, REF_EMBEDDED, REF_NULL, REF_RECURSIVE, REF_RECURSIVE2| Constructor and Description |
|---|
SerializeStream(byte[] array) |
SerializeStream(byte[] array,
int contextCapacity) |
SerializeStream(long address,
long length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.Closeable |
newScope() |
void |
writeObject(java.lang.Object obj) |
address, alloc, 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, writeUTFprotected SerializationContext context
public SerializeStream(byte[] array)
public SerializeStream(byte[] array,
int contextCapacity)
public SerializeStream(long address,
long length)
public void writeObject(java.lang.Object obj)
throws java.io.IOException
writeObject in interface java.io.ObjectOutputwriteObject in class DataStreamjava.io.IOExceptionpublic void close()
close in interface java.io.ObjectInputclose in interface java.io.ObjectOutputclose in interface java.lang.AutoCloseableclose in class DataStreampublic java.io.Closeable newScope()
newScope in class DataStream