18#ifndef _DECAF_IO_BLOCKINGBYTEARRAYINPUTSTREAM_H_
19#define _DECAF_IO_BLOCKINGBYTEARRAYINPUTSTREAM_H_
32 class DECAF_API BlockingByteArrayInputStream :
public InputStream {
38 std::vector<unsigned char> buffer;
43 std::vector<unsigned char>::const_iterator pos;
53 BlockingByteArrayInputStream(
const BlockingByteArrayInputStream&);
54 BlockingByteArrayInputStream& operator=(
const BlockingByteArrayInputStream&);
74 virtual void setByteArray(
const unsigned char* buffer,
int bufferSize);
89 virtual long long skip(
long long num);
#define DECAF_API
Definition Config.h:29
Definition BlockingByteArrayInputStream.h:25
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25