Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

int PoDoFo::PdfTokenizer::GetHexValue ( const unsigned char  ch ) [inline, static, inherited]

Get the hex value from a static map of a given hex character (0-9, A-F, a-f).

chhex character
hex value or HEX_NOT_FOUND if invalid
See also:

Definition at line 300 of file PdfTokenizer.h.

References PoDoFo::PdfTokenizer::s_hexMap.

Referenced by PoDoFo::PdfHexFilter::DecodeBlockImpl(), PoDoFo::PdfColor::FromString(), and PoDoFo::PdfString::SetHexData().

    return PdfTokenizer::s_hexMap[static_cast<size_t>(ch)];

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index