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, wrap
public 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
MarshalException
public boolean unmarshal_boolean() throws MarshalException
MarshalException
public short unmarshal_short() throws MarshalException
MarshalException
public char unmarshal_char() throws MarshalException
MarshalException
public int unmarshal_int() throws MarshalException
MarshalException
public long unmarshal_long() throws MarshalException
MarshalException
public float unmarshal_float() throws MarshalException
MarshalException
public double unmarshal_double() throws MarshalException
MarshalException
public int unmarshal_size() throws MarshalException
MarshalException
public Octets unmarshal_Octets() throws MarshalException
MarshalException
public byte[] unmarshal_bytes() throws MarshalException
MarshalException
public java.lang.String unmarshal_String() throws MarshalException
MarshalException
public java.lang.String unmarshal_String(java.nio.charset.Charset charset) throws MarshalException
MarshalException
public OctetsStream unmarshal(Marshal m) throws MarshalException
MarshalException