summaryrefslogtreecommitdiffstats
path: root/CPP/7zip/Common/StreamUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Common/StreamUtils.h')
-rwxr-xr-xCPP/7zip/Common/StreamUtils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/CPP/7zip/Common/StreamUtils.h b/CPP/7zip/Common/StreamUtils.h
new file mode 100755
index 0000000..30535ab
--- /dev/null
+++ b/CPP/7zip/Common/StreamUtils.h
@@ -0,0 +1,13 @@
+// StreamUtils.h
+
+#ifndef __STREAMUTILS_H
+#define __STREAMUTILS_H
+
+#include "../IStream.h"
+
+HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size);
+HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size);
+HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size);
+HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size);
+
+#endif