3 #ifndef INCLUDE_NN_NLIB_OSS_LZ4OUTPUTSTREAM_H_
4 #define INCLUDE_NN_NLIB_OSS_LZ4OUTPUTSTREAM_H_
10 #if defined(_MSC_VER) && defined(nx_oss_lz4_EXPORTS)
11 #undef NLIB_VIS_PUBLIC
12 #define NLIB_VIS_PUBLIC NLIB_WINEXPORT
31 size_t* written) NLIB_NOEXCEPT NLIB_OVERRIDE;
32 virtual
void* GetWorkBuffer(
size_t* n) NLIB_NOEXCEPT NLIB_OVERRIDE;
34 virtual
errno_t OnClose() NLIB_NOEXCEPT NLIB_OVERRIDE;
37 LZ4F_decompressionContext_t m_Ctx;
38 unsigned char* m_BufIn;
40 size_t m_BufInDataSize;
41 unsigned char m_BaseBuf[256];
55 return this->Init(settings);
58 return m_Transform.Init(settings);
68 #if defined(_MSC_VER) && defined(nx_oss_lz4_EXPORTS)
69 #undef NLIB_VIS_PUBLIC
70 #define NLIB_VIS_PUBLIC NLIB_WINIMPORT
73 #endif // INCLUDE_NN_NLIB_OSS_LZ4OUTPUTSTREAM_H_
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
#define NLIB_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
A file that contains the configuration information for each development environment.