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

RWByteInputStream

Module:  Advanced Tools   Package:  Streams


RWByteInputStream RWHandleBase

Local Index

Members

Non-Members

Header File

#include <rw/stream/RWByteInputStream.h>

Description

Handle class for all the binary input stream implementation classes. Implement the handle idiom from the handle-body pattern.

Public Constructors

RW_EXPLICIT 
RWByteInputStream(RWByteInputStreamImp* body);
RWByteInputStream(const RWByteInputStream& handle) ;

Public Operators

RWByteInputStream 
operator>>(RWByteInputStream (*pf)(RWByteInputStream&));
RWByteInputStream& 
operator=(const RWByteInputStream& handle);
RWByteInputStream& 
operator>>(RWByte& byteValue);
RWByteInputStream& 
operator>>(RWByteInputStream& (*pf)(RWByteInputStream&));

Public Member Functions

RWSize 
available() const;
void 
close();
bool 
isBad() const;
bool 
isEof() const;
bool 
isFail() const;
bool 
isGood() const;
RWByte 
read();
RWSize 
read(RWByte* byteArray, RWSize numBytes);
RWSize 
readUntil(RWByte* byteArray, RWSize maxSize, RWByte delim);
RWSize 
skip(RWSize numUnits);

Related Global Function

RWByteInputStream& 
rwDisc(RWByteInputStream& stream);


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.