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
);
Converts an XML input stream into a FIS output stream, throws an exception if an error occurs while parsing the XML or writing the FIS document.
static void convertToXML(
std::istream & fisInput,
std::ostream & xmlOutput
);
Converts an FIS input stream into a XML output stream, throws an exception if an error occurs while parsing the FIS or writing the XML document.
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].