Poco::FastInfoset

class HexEncoding

File Information

Library: FastInfoset
Package: CodingAlgorithm
Header: Poco/FastInfoset/HexEncoding.h

Description

This class implements the Fast Infoset encoding for hex-based binary data.

Inheritance

Direct Base Classes: Encoding

All Base Classes: Encoding, Poco::RefCountedObject

Member Summary

Member Functions: check, checkMethod, createContent, decode, decodeMethod, encode, encodeMethod, handle, merge, type, write

Inherited Functions: checkMethod, content, createContent, decodeMethod, duplicate, encodeMethod, handle, merge, referenceCount, release, type, write

Constructors

HexEncoding

explicit HexEncoding(
    const std::string & data
);

Creates the HexEncoding using the given string containing hex-encoded data.

HexEncoding

HexEncoding(
    const char * data,
    std::size_t length
);

Creates the HexEncoding, usign the given raw binary data.

Destructor

~HexEncoding virtual

~HexEncoding();

Destroys the HexEncoding.

Member Functions

check static

static Poco::Int32 check(
    const std::string & str
);

checkMethod inline

Encoding::CheckMethod checkMethod() const;

createContent virtual inline

void createContent();

decode static

static void decode(
    BitStreamReader & reader,
    std::string & result
);

decode static

static Encoding::Ptr decode(
    BitStreamReader & reader
);

decodeMethod inline

Encoding::DecodeMethod decodeMethod() const;

encode static

static void encode(
    BitStreamWriter & writer,
    const std::string & str
);

encodeMethod inline

Encoding::EncodeMethod encodeMethod() const;

handle virtual

void handle(
    FISContentHandler * pHandler
) const;

handle virtual

void handle(
    Poco::XML::ContentHandler * pHandler
) const;

merge virtual

bool merge(
    const Encoding & enc
);

type virtual inline

Poco::UInt32 type() const;

write virtual

void write(
    BitStreamWriter & writer
) const;

Securely control IoT edge devices from anywhere   Connect a Device