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