libebml_ng
Namespaces | Macros | Functions | Variables
vint.cpp File Reference
#include <string.h>
#include <stdio.h>
#include <array>
#include "libebml_ng/struct.h"
#include "libebml_ng/exceptions.h"
#include "libebml_ng/vint.h"
#include "libebml_ng/struct/ull.h"
#include "libebml_ng/repr.h"

Namespaces

 ebml
 

Macros

#define EBML_NG_VINT_CPP
 

Functions

unsigned long long ebml::unpackVint (const char *data, size_t dataSize, unsigned char &vintw)
 Decodes a vint from a byte array of known size. More...
 
unsigned long long ebml::unpackVint (ioBase &file, unsigned char &vintw)
 Decodes a vint from an I/O stream. More...
 
unsigned long long ebml::unpackVint (ioBase &file, off_t offset, unsigned char &vintw)
 Decodes a vint from an I/O stream starting at a specified offset. More...
 

Variables

const size_t ebml::UNKNOWN = 0xffffffffffffffffULL
 Special constant representing an unknown or maximum value. More...
 

Macro Definition Documentation

◆ EBML_NG_VINT_CPP

#define EBML_NG_VINT_CPP