39#include "blocxx/BLOCXX_config.h"
47#ifdef BLOCXX_HAVE_OSTREAM
93 if (val > 0 && val <= 127)
The Char16 class is an abstraction for a double byte character.
void readObject(std::streambuf &istrm)
Read this object from an input stream.
String toString() const
Convert this to UTF8.
bool operator==(const Char16 &arg) const
Equality operator.
Char16()
Create a new Char16 object with a value of zero.
void writeObject(std::streambuf &ostrm) const
Write this object to an output stream.
String toUTF8() const BLOCXX_DEPRECATED
Deprecated in favor of toString()
This String class is an abstract data type that represents as NULL terminated string of characters.
void read(std::streambuf &istrm, void *dataIn, size_t dataInLen)
void write(std::streambuf &ostrm, void const *dataOut, size_t dataOutLen)
String UCS2toUTF8(UInt16 ucs2char)
Convert one UCS2 16-bit char into a UTF-8 char (possibly multiple bytes)
UInt16 UTF8toUCS2(const char *utf8char)
Convert one UTF-8 char (possibly multiple bytes) into a UCS2 16-bit char.
bool operator==(const Array< T > &x, const Array< T > &y)
ostream & operator<<(ostream &ostrm, const Bool &arg)