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

RWUCharFromUTF8ByteInputStreamImp

Module:  Advanced Tools   Package:  Streams


RWUCharFromUTF8ByteInputStreamImp RWUCharInputStreamImp RWInputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWUCharFromUTF8ByteInputStreamImp.h>

Description

Concrete class connecting a UTF-16 character stream to a UTF-8 binary stream. The bytes read from the UTF-8 binary stream used as the source of bytes are transformed into UTF-16 characters.

UTF-8 is a variable length encoding of the UTF-16 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

RWUCharFromUTF8ByteInputStreamImp(RWByteInputStream&
sourceStream);

Public Destructor

virtual 
~RWUCharFromUTF8ByteInputStreamImp();

Static Public Member Function

static RWUCharInputStream 
make(RWByteInputStream& source);

Public Member Functions

virtual RWSize 
available() const;
virtual void 
close();
virtual bool 
isBad() const;
virtual bool 
isEof() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual RWUChar 
read();
virtual RWSize 
read(RWUChar* unicodeArray, RWSize numUChars);
virtual RWSize 
readUntil(RWUChar* unicodeArray, RWSize maxSize, 
RWUChar delim);
virtual RWSize 
skip(RWSize numUnits);

Protected Member Functions

RWByteInputStream& 
getSourceStream();

const RWByteInputStream& 
getSourceStream() 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.