1// StreamUtils.h
2
3#ifndef __STREAMUTILS_H
4#define __STREAMUTILS_H
5
6#include "../IStream.h"
7
8HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size);
9HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size);
10HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size);
11HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size);
12
13#endif
14