Poco::FastInfoset

class DecodingAlgorithm

File Information

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

Description

DecodingAlgorithm bundles all decoding algorithms supported by FastInfoset standard (like hex encoding, int encoding, uuid encoding....)

Member Summary

Member Functions: add, read

Constructors

DecodingAlgorithm

DecodingAlgorithm();

Creates the DecodingAlgorithm.

Destructor

~DecodingAlgorithm

~DecodingAlgorithm();

Destroys the DecodingAlgorithm.

Member Functions

add inline

void add(
    Encoding::DecodeMethod dec
);

read inline

Encoding::Ptr read(
    Poco::Int32 algo,
    BitStreamReader & reader
);

Reads the encoded data, converts it to a string and forwards it as characterchunk to pHandler

Securely control IoT edge devices from anywhere   Connect a Device