Class jive.erlang.EBinary
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)

Constructor Index

 o EBinary()
Initiates the binary type.
 o EBinary(byte[])
Creates an Erlang Binary with the a given byte array.

Method Index

 o length()
Returns the length of the Erlang Binary.
 o pack()
Packs the Erlang Binary into a byte array.
 o value()
Returns the integer value of this Erlang Binary.

Constructors

 o EBinary
  public EBinary()
Initiates the binary type.
 o EBinary
  public EBinary(byte data[])
Creates an Erlang Binary with the a given byte array.

Methods

 o value
  public byte[] value()
Returns the integer value of this Erlang Binary.
 o length
  public int length()
Returns the length of the Erlang Binary.
 o 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