Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWUCharToUTF8ByteOutputStreamImp

Module:  Advanced Tools   Package:  Streams


RWUCharToUTF8ByteOutputStreamImp RWUCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWUCharToUTF8ByteOutputStreamImp.h>

Description

Concrete class connecting a UTF-16 character stream to aUTF-8 binary stream. The UTF-16 characters are transformed as a sequence of UTF-8 bytes. UTF-8 is a variable length encoding of the Unicode Standard using 8-bit sequences, where the high bits indicate which part of the sequence a byte belongs to. Implements the body idiom from the handle-body pattern.

Protected Constructor

RWUCharToUTF8ByteOutputStreamImp(RWByteOutputStream&
sinkStream);

Public Destructor

virtual 
~RWUCharToUTF8ByteOutputStreamImp();

Static Public Member Function

static RWUCharOutputStream 
make(RWByteOutputStream& sink);

Public Member Functions

virtual void 
close();
virtual void 
flush();
virtual bool 
isBad() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual void 
write(RWUChar unicodeValue);
virtual void 
write(const RWUChar* unicodeArray, RWSize numUChars);

Protected Member Functions

RWByteOutputStream& 
getSinkStream();

const RWByteOutputStream& 
getSinkStream() const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.