com.jpragma.snmp.asn.ber
Class BerTlv

java.lang.Object
  extended by com.jpragma.snmp.asn.ber.BerTlv

public class BerTlv
extends java.lang.Object


Constructor Summary
BerTlv()
           
 
Method Summary
static BerTlv create(java.io.ByteArrayInputStream stream)
           
 void decode(byte[] data)
           
 void decode(java.io.ByteArrayInputStream stream)
           
 void encode(java.io.ByteArrayOutputStream stream)
           
 byte[] getBytes()
           
 int getLength()
           
 BerTlvIdentifier getTag()
           
 byte[] getValue()
           
 void setLength(int length)
           
 void setTag(BerTlvIdentifier tag)
           
 void setValue(byte[] value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BerTlv

public BerTlv()
Method Detail

getLength

public int getLength()

setLength

public void setLength(int length)

getTag

public BerTlvIdentifier getTag()

setTag

public void setTag(BerTlvIdentifier tag)

getValue

public byte[] getValue()

setValue

public void setValue(byte[] value)

create

public static BerTlv create(java.io.ByteArrayInputStream stream)

decode

public void decode(byte[] data)

decode

public void decode(java.io.ByteArrayInputStream stream)

encode

public void encode(java.io.ByteArrayOutputStream stream)

getBytes

public byte[] getBytes()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object