Blender V5.0
ZstdWriteWrap Class Reference

Inherits WriteWrap.

Classes

struct  ZstdWriteBlockTask

Public Member Functions

 ZstdWriteWrap (WriteWrap &base_wrap)

Internal Write Wrapper's (Abstracts Compression)

Use if we want to store how many bytes have been written to the file.

bool open (const char *filepath) override
bool close () override
bool write (const void *buf, size_t buf_len) override

Additional Inherited Members

Public Attributes inherited from WriteWrap
bool use_buf = true

Detailed Description

Definition at line 221 of file writefile.cc.

Constructor & Destructor Documentation

◆ ZstdWriteWrap()

ZstdWriteWrap::ZstdWriteWrap ( WriteWrap & base_wrap)
inline

Definition at line 236 of file writefile.cc.

Member Function Documentation

◆ close()

bool ZstdWriteWrap::close ( )
overridevirtual

Implements WriteWrap.

Definition at line 358 of file writefile.cc.

References BLI_condition_end(), BLI_freelistN(), BLI_mutex_end(), and BLI_threadpool_end().

◆ open()

bool ZstdWriteWrap::open ( const char * filepath)
overridevirtual

◆ write()


The documentation for this class was generated from the following file: