Poco::FastInfoset

class DWordEncoding

File Information

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

Description

This class implements the Fast Infoset encoding for base64-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

DWordEncoding

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

Creates the DWordEncoding, using the given base64-encoded data.

DWordEncoding

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

Creates the DWordEncoding, usign the given raw binary data.

Destructor

~DWordEncoding virtual

~DWordEncoding();

Destroys the DWordEncoding.

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