17 #ifndef _DECAF_IO_READER_H 18 #define _DECAF_IO_READER_H 65 virtual void mark(
int readAheadLimit);
85 virtual bool ready()
const;
109 virtual long long skip(
long long count);
122 virtual int read(std::vector<char>& buffer);
139 virtual int read(
char* buffer,
int size);
160 virtual int read(
char* buffer,
int size,
int offset,
int length);
187 virtual int doReadArrayBounded(
char* buffer,
int size,
int offset,
int length) = 0;
195 virtual int doReadVector(std::vector<char>& buffer);
201 virtual int doReadArray(
char* buffer,
int length);
207 virtual int doReadChar();
Interface for a class that implements the close method.
Definition: Closeable.h:30
This class defines four categories of operations upon character buffers:
Definition: CharBuffer.h:65
virtual bool markSupported() const
Tells whether this stream supports the mark() operation.
Definition: Reader.h:73
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25
A Readable is a source of characters.
Definition: Readable.h:39