BER object to handle noSuchObject exception.
More...
#include <src/BER.h>
|
| NoSuchObjectBER () |
| Creates a NoSuchObjectBER object.
|
|
| NullBER (const uint8_t type=Type::Null) |
| Creates a NullBER object.
|
|
| BER (const unsigned int type) |
| Creates a BER object.
|
|
virtual | ~BER () |
| BER destructor.
|
|
virtual void | encode (Stream &stream) |
| Encodes BER type and length to stream.
|
|
template<typename T > |
void | encodeNumeric (T value, Stream &stream) |
| Encodes BER numeric value to stream.
|
|
virtual void | decode (Stream &stream, const uint8_t flag=Flag::None) |
| Decodes BER type and length from stream.
|
|
template<typename T > |
void | decodeNumeric (T *value, Stream &stream, const uint8_t flag=Flag::None) |
| Decodes BER numeric value from stream.
|
|
virtual uint8_t * | encode (uint8_t *buffer) |
| Encodes BER type and length to memory buffer.
|
|
template<typename T > |
uint8_t * | encodeNumeric (T value, uint8_t *buffer) |
| Encodes BER numeric value to memory buffer.
|
|
virtual uint8_t * | decode (uint8_t *buffer) |
| Decodes BER type and length from memory buffer.
|
|
template<typename T > |
uint8_t * | decodeNumeric (T *value, uint8_t *buffer, const uint8_t flag=Flag::None) |
| Decodes BER numeric value from memory buffer.
|
|
template<typename T > |
void | setNegative (T value) |
| Computes BER length of a negative integer.
|
|
template<typename T > |
void | setPositive (T value) |
| Computes BER length of a positive integer.
|
|
const unsigned int | getType () const |
| Gets the BER type.
|
|
const unsigned int | getLength () const |
| Gets the BER length.
|
|
virtual const unsigned int | getSize (const bool refresh=false) |
| Gets the size of the BER.
|
|
void | encode7bits (uint32_t value, uint8_t *buffer, const uint8_t size) |
| Encodes integer value to memory buffer.
|
|
BER object to handle noSuchObject exception.
Definition at line 2571 of file BER.h.
◆ NoSuchObjectBER()
SNMP::NoSuchObjectBER::NoSuchObjectBER |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: