All Packages Class Hierarchy This Package Previous Next Index
Class jive.erlang.EBinary
java.lang.Object
|
+----jive.erlang.EVar
|
+----jive.erlang.EBinary
- public class EBinary
- extends EVar
EBinary is a class that encapsulates an Erlang Binary.
- Author:
- Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)
-
EBinary()
-
Initiates the binary type.
-
EBinary(byte[])
- Creates an Erlang Binary with the a given byte array.
-
length()
-
Returns the length of the Erlang Binary.
-
pack()
-
Packs the Erlang Binary into a byte array.
-
value()
-
Returns the integer value of this Erlang Binary.
EBinary
public EBinary()
- Initiates the binary type.
EBinary
public EBinary(byte data[])
- Creates an Erlang Binary with the a given byte array.
value
public byte[] value()
- Returns the integer value of this Erlang Binary.
length
public int length()
- Returns the length of the Erlang Binary.
pack
public byte[] pack()
- Packs the Erlang Binary into a byte array.
Used when sending the binary to an Erlang server.
- Overrides:
- pack in class EVar
All Packages Class Hierarchy This Package Previous Next Index