Poco::FastInfoset

class Utility

File Information

Library: FastInfoset
Package: FastInfoset
Header: Poco/FastInfoset/Utility.h

Description

The Utility class contains commonly used constants and helper methods.

Member Summary

Member Functions: convertToFIS, convertToXML

Enumerations

Anonymous

SIZEOFCHARINBIT = 8

SIZEOFINT16INBIT = 16

SIZEOFINT32INBIT = 32

SIZEOFINT64INBIT = 64

INVALIDINDEX = 0xffffffffu

Member Functions

convertToFIS static

static void convertToFIS(
    std::istream & xmlInput,
    std::ostream & fisOutput,
    int maxIndexedStringLength = 16
);

Deprecated. This function issc_deprecated.

This method is provided for backwards compatibility only and simply calls Converter::convertToFIS().

convertToXML static

static void convertToXML(
    std::istream & fisInput,
    std::ostream & xmlOutput
);

Deprecated. This function issc_deprecated.

This method is provided for backwards compatibility only and simply calls Converter::convertToXML().

Variables

highBitMask static

static unsigned char highBitMask[];

A bitmask where the numBits highest bits are set to 1.

lowBitMask static

static unsigned char lowBitMask[];

A bitmask where the numBits lowest bits are set to 1.

pow2 static

static unsigned char pow2[];

A vector storing for pos x the value 2^x, x in range [0,7].

revertedPow2 static

static unsigned char revertedPow2[];

A vector storing for pos x the value 2^(7-x), x in range [0,7].

Securely control IoT edge devices from anywhere   Connect a Device