neuray API Programmer's Manual

mi::neuraylib::IBuffer Class Reference

[Types]

Description

Abstract interface for a simple buffer with binary data. The length of the buffer is given by get_data_size(). The data is not '\0'-terminated.

Public Member Functions

virtual const Uint8get_data() const =0
Returns a pointer to the data represented by the buffer.
virtual Size get_data_size() const =0
Returns the size of the buffer.

Member Functions

virtual const Uint8* mi::​neuraylib::​IBuffer::get_data() const [pure virtual]

Returns a pointer to the data represented by the buffer.

virtual Size mi::​neuraylib::​IBuffer::get_data_size() const [pure virtual]

Returns the size of the buffer.