Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Encoding Class Reference

Concept for encoding of Unicode characters. More...

#include <encodings.h>

Detailed Description

concept Encoding {
typename Ch;
enum { supportUnicode = 1 }; // or 0 if not supporting unicode
template<typename OutputStream>
static void Encode(OutputStream& os, unsigned codepoint);
template <typename InputStream>
static bool Decode(InputStream& is, unsigned* codepoint);
template <typename InputStream, typename OutputStream>
static bool Validate(InputStream& is, OutputStream& os);
// The following functions are deal with byte streams.
template <typename InputByteStream>
static CharType TakeBOM(InputByteStream& is);
template <typename InputByteStream>
static Ch Take(InputByteStream& is);
template <typename OutputByteStream>
static void PutBOM(OutputByteStream& os);
template <typename OutputByteStream>
static void Put(OutputByteStream& os, Ch c);
};
mie::Vuint Put(const uint64_t *x, size_t n)
Definition bench.cpp:96
Concept for encoding of Unicode characters.
os_t os
#define Ch(x, y, z)
Definition hash_impl.h:17

The documentation for this class was generated from the following file: