Dangerous SNMP
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
VARIANT Class Reference

This class allows for the encoding and decoding of an arbitrary value. More...

#include <encoding.hpp>

Public Types

typedef Variant value_type
 

Static Public Member Functions

static unsigned int length (const Variant &variant)
 The byte size of a null value is always 2: More...
 

Detailed Description

This class allows for the encoding and decoding of an arbitrary value.

Member Function Documentation

static unsigned int length ( const Variant variant)
inlinestatic

The byte size of a null value is always 2:

  1. The null type.
  2. A length of zero.
    Returns
    The number of bytes that are needed.

The documentation for this class was generated from the following file: