Blender V4.3
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 175 of file writefile.cc.

Member Function Documentation

◆ close()

bool RawWriteWrap::close ( )
overridevirtual

Implements WriteWrap.

Definition at line 198 of file writefile.cc.

References close().

Referenced by close().

◆ open()

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

Implements WriteWrap.

Definition at line 185 of file writefile.cc.

References BLI_open(), file, and O_BINARY.

◆ write()

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

Implements WriteWrap.

Definition at line 202 of file writefile.cc.


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