public final class OctetsStream extends Octets
| Constructor and Description |
|---|
OctetsStream() |
OctetsStream(int size) |
OctetsStream(Octets o) |
append, append, append, append, array, capacity, clear, compareTo, equals, erase, fit, getByte, getByteBuffer, getByteBuffer, getByteBuffer, getBytes, hashCode, insert, insert, insert, insert, push_byte, replace, replace, replace, replace, reserve, resize, setByte, size, swap, wrap, wrappublic OctetsStream()
public OctetsStream(int size)
public OctetsStream(Octets o)
public static OctetsStream wrap(Octets o)
public final boolean eos()
public final OctetsStream position(int pos)
public final int position()
public final int remain()
public OctetsStream begin()
public OctetsStream rollback()
public OctetsStream commit()
public OctetsStream marshal(byte x)
public OctetsStream marshal(boolean b)
public OctetsStream marshal(short x)
public OctetsStream marshal(char x)
public OctetsStream marshal(int x)
public OctetsStream marshal(long x)
public OctetsStream marshal(float x)
public OctetsStream marshal(double x)
public OctetsStream marshal(Marshal m)
public OctetsStream marshal_size(int x)
public OctetsStream marshal(Octets o)
public OctetsStream marshal(byte[] bytes)
public OctetsStream marshal(java.lang.String str)
public OctetsStream marshal(java.lang.String str, java.nio.charset.Charset charset)
public byte unmarshal_byte()
throws MarshalException
MarshalExceptionpublic boolean unmarshal_boolean()
throws MarshalException
MarshalExceptionpublic short unmarshal_short()
throws MarshalException
MarshalExceptionpublic char unmarshal_char()
throws MarshalException
MarshalExceptionpublic int unmarshal_int()
throws MarshalException
MarshalExceptionpublic long unmarshal_long()
throws MarshalException
MarshalExceptionpublic float unmarshal_float()
throws MarshalException
MarshalExceptionpublic double unmarshal_double()
throws MarshalException
MarshalExceptionpublic int unmarshal_size()
throws MarshalException
MarshalExceptionpublic Octets unmarshal_Octets() throws MarshalException
MarshalExceptionpublic byte[] unmarshal_bytes()
throws MarshalException
MarshalExceptionpublic java.lang.String unmarshal_String()
throws MarshalException
MarshalExceptionpublic java.lang.String unmarshal_String(java.nio.charset.Charset charset)
throws MarshalException
MarshalExceptionpublic OctetsStream unmarshal(Marshal m) throws MarshalException
MarshalException