public interface SnmpSyntax
| Modifier and Type | Method and Description |
|---|---|
int |
decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the ASN.1 buffer and sets the values in the SnmpSyntax object.
|
SnmpSyntax |
duplicate()
Creates a duplicate (in memory) object of the caller.
|
int |
encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the data object in the specified buffer using the AsnEncoder
object
|
byte |
typeId()
Returns the ASN.1 type of the implementor object.
|
byte typeId()
int encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
throws AsnEncodingException
buf - The buffer to write the encoded informationoffset - The location to start writing the encoded dataencoder - The object used to encode the dataAsnEncodingException - Thrown if an encoding error occursint decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
throws AsnDecodingException
buf - The encoded data bufferoffset - The offset of the first valid byteencoder - The object used to decode the ASN.1 dataAsnDecodingException - Thrown if an encoding error occursSnmpSyntax duplicate()
Copyright © 2022. All rights reserved.