net.sf.dexterim.oscar.entity
Class TLV
java.lang.Object
net.sf.dexterim.oscar.entity.TLV
- All Implemented Interfaces:
- ByteBased
- public class TLV
- extends java.lang.Object
- implements ByteBased
xx xx word TLV type number
xx xx word TLV length value
...... TLV data
- Author:
- christoph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TLV
public TLV(Word type)
TLV
public TLV(int type)
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArray
in interface ByteBased
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()
getType
public int getType()
- Returns:
setData
public void setData(ByteBased data)
setData
public void setData(byte[] data)
getData
public ByteBased getData()
- Returns:
toString
public java.lang.String toString()
Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.