Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 406 Bytes
#pragma once
#include "InputStream.h"
namespace presents {
class FramedInputStream : public InputStream
FramedInputStream (InputStream* base);
virtual size_t read(void* pData, size_t bytesToRead);
bool readFrame ();
int32 _length;
InputStream* _base;
boost::scoped_array<uint8> _readBuffer;
int32 _fillPosition, _readPosition, _readBufferLength;
Jump to Line
Something went wrong with that request. Please try again.