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
~DWordEncoding();
Destroys the DWordEncoding.
Member Functions
check
static Poco::Int32 check(
const std::string & str
);
checkMethod
Encoding::CheckMethod checkMethod() const;
createContent
void createContent();
decode
static void decode(
BitStreamReader & reader,
std::string & result
);
decode
static Encoding::Ptr decode(
BitStreamReader & reader
);
decodeMethod
Encoding::DecodeMethod decodeMethod() const;
encode
static void encode(
BitStreamWriter & writer,
const std::string & str
);
encodeMethod
Encoding::EncodeMethod encodeMethod() const;
handle
void handle(
FISContentHandler * pHandler
) const;
See also: Poco::FastInfoset::Encoding::handle()
handle
void handle(
Poco::XML::ContentHandler * pHandler
) const;
See also: Poco::FastInfoset::Encoding::handle()
merge
bool merge(
const Encoding & enc
);
See also: Poco::FastInfoset::Encoding::merge()
type
Poco::UInt32 type() const;
See also: Poco::FastInfoset::Encoding::type()
write
void write(
BitStreamWriter & writer
) const;
See also: Poco::FastInfoset::Encoding::write()