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