18 #ifndef _DECAF_IO_BLOCKINGBYTEARRAYINPUTSTREAM_H_ 19 #define _DECAF_IO_BLOCKINGBYTEARRAYINPUTSTREAM_H_ 38 std::vector<unsigned char> buffer;
43 std::vector<unsigned char>::const_iterator pos;
74 virtual void setByteArray(
const unsigned char* buffer,
int bufferSize);
79 virtual int available()
const;
89 virtual long long skip(
long long num);
93 virtual int doReadByte();
95 virtual int doReadArrayBounded(
unsigned char* buffer,
int size,
int offset,
int length);
#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