intarsys runtime library

de.intarsys.tools.tlv.common
Class TlvTools

java.lang.Object
  extended by de.intarsys.tools.tlv.common.TlvTools

public class TlvTools
extends Object

Tool methods for handling the TLV implementation.


Method Summary
static int asInt(byte[] src, int offset, int length)
           
static int asInt(TlvElement element)
           
static int asUnsignedInt(byte[] src, int offset, int length)
           
static int asUnsignedInt(TlvElement element)
           
static void checkSize(byte[] src, int minSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asInt

public static int asInt(byte[] src,
                        int offset,
                        int length)

asInt

public static int asInt(TlvElement element)

asUnsignedInt

public static int asUnsignedInt(byte[] src,
                                int offset,
                                int length)

asUnsignedInt

public static int asUnsignedInt(TlvElement element)

checkSize

public static void checkSize(byte[] src,
                             int minSize)

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.