summaryrefslogtreecommitdiffstats
path: root/CPP/7zip/Common/StreamUtils.h
blob: 30535ab1b3167e76947453b85171098cc596a8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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