diff options
Diffstat (limited to 'CPP/7zip/Common/StreamUtils.h')
-rw-r--r-- | CPP/7zip/Common/StreamUtils.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CPP/7zip/Common/StreamUtils.h b/CPP/7zip/Common/StreamUtils.h new file mode 100644 index 0000000..ae914c0 --- /dev/null +++ b/CPP/7zip/Common/StreamUtils.h | |||
@@ -0,0 +1,13 @@ | |||
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 | ||