Blender V5.0
RawWriteWrap Class Reference

Inherits WriteWrap.

Public Member Functions

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 189 of file writefile.cc.

Member Function Documentation

◆ close()

bool RawWriteWrap::close ( )
overridevirtual

Implements WriteWrap.

Definition at line 212 of file writefile.cc.

References close().

Referenced by close().

◆ open()

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

Implements WriteWrap.

Definition at line 199 of file writefile.cc.

References BLI_open(), and O_BINARY.

◆ write()

bool RawWriteWrap::write ( const void * buf,
size_t buf_len )
overridevirtual

Implements WriteWrap.

Definition at line 216 of file writefile.cc.


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