ASN1C C/C++ Common Runtime  ASN1C v7.6.x
Public Attributes | List of all members
ASN1BigInt Struct Reference

#include <asn1type.h>

Public Attributes

size_t numocts
 
OSOCTET * mag
 
int sign
 
size_t allocated
 
OSBOOL dynamic
 

Detailed Description

A structure used to define an ASN.1 big integer. This structure is rarely, if ever, used by client code, and will instead be used by generated code to facilitate encoding and decoding integer values that cannot fit in normal C/C++ integer types.

Member Data Documentation

◆ allocated

size_t ASN1BigInt::allocated

The number of octets allocated for the magnitude.

◆ dynamic

OSBOOL ASN1BigInt::dynamic

A flag that tells whether the buffer is dynamically allocated.

◆ mag

OSOCTET* ASN1BigInt::mag

The magnitude value.

◆ numocts

size_t ASN1BigInt::numocts

The number of octets used in the magnitude.

◆ sign

int ASN1BigInt::sign

The sign: either -1, 0, or 1.


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