net.sf.dexterim.oscar.entity
Class VariableByte

java.lang.Object
  extended bynet.sf.dexterim.oscar.entity.VariableByte
All Implemented Interfaces:
ByteBased

public class VariableByte
extends java.lang.Object
implements ByteBased

Author:
christoph TODO Document

Constructor Summary
VariableByte(byte[] data)
           
VariableByte(int[] data)
           
VariableByte(java.lang.String data)
           
 
Method Summary
 int getLength()
          Returns the length in bytes.
 byte[] toByteArray()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableByte

public VariableByte(java.lang.String data)

VariableByte

public VariableByte(byte[] data)

VariableByte

public VariableByte(int[] data)
Method Detail

getLength

public int getLength()
Description copied from interface: ByteBased
Returns the length in bytes.

Specified by:
getLength in interface ByteBased
Returns:
length in bytes
See Also:
ByteBased.getLength()

toByteArray

public byte[] toByteArray()
Specified by:
toByteArray in interface ByteBased

toString

public java.lang.String toString()


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.