Library: FastInfoset
Package: FastInfoset
Header: Poco/FastInfoset/Utility.h
The Utility class contains commonly used constants and helper methods.
Member Functions: convertToFIS, convertToXML
SIZEOFCHARINBIT = 8
SIZEOFINT16INBIT = 16
SIZEOFINT32INBIT = 32
SIZEOFINT64INBIT = 64
INVALIDINDEX = 0xffffffffu
static void convertToFIS(
std::istream & xmlInput,
std::ostream & fisOutput,
int maxIndexedStringLength = 16
);
Deprecated. This function is deprecated and should no longer be used.
This method is provided for backwards compatibility only and simply calls Converter::convertToFIS().
static void convertToXML(
std::istream & fisInput,
std::ostream & xmlOutput
);
Deprecated. This function is deprecated and should no longer be used.
This method is provided for backwards compatibility only and simply calls Converter::convertToXML().
static unsigned char highBitMask[];
A bitmask where the numBits highest bits are set to 1.
static unsigned char lowBitMask[];
A bitmask where the numBits lowest bits are set to 1.
static unsigned char pow2[];
A vector storing for pos x the value 2^x, x in range [0,7].
static unsigned char revertedPow2[];
A vector storing for pos x the value 2^(7-x), x in range [0,7].