Poco::FastInfoset

class StringEncoder

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

Description

A StringEncoder is used to encode string.

Member Summary

Member Functions: encode

Member Functions

encode static

static std::string encode(
    const std::string & str,
    DocumentVocabulary::CharacterStringEncoding encoding,
    DocumentVocabulary & voc,
    Poco::UInt32 option = Utility::INVALIDINDEX
);

Option can only be set when encoding is restrictedalphabet or encoding algorithm.