The OpenD Programming Language

cef_binary_value_t

Structure representing a binary value. Can be used on any process and thread.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

copy
cef_binary_value_t* function(cef_binary_value_t* self) nothrow copy;

Returns a copy of this object. The data in this object will also be copied.

get_data
size_t function(cef_binary_value_t* self, void* buffer, size_t buffer_size, size_t data_offset) nothrow get_data;

Read up to |buffer_size| number of bytes into |buffer|. Reading begins at the specified byte |data_offset|. Returns the number of bytes read.

get_raw_data
const(void)* function(cef_binary_value_t* self) nothrow get_raw_data;

Returns a pointer to the beginning of the memory block. The returned pointer is valid as long as the cef_binary_value_t is alive.

get_size
size_t function(cef_binary_value_t* self) nothrow get_size;

Returns the data size.

is_equal
int function(cef_binary_value_t* self, cef_binary_value_t* that) nothrow is_equal;

Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object.

is_owned
int function(cef_binary_value_t* self) nothrow is_owned;

Returns true (1) if this object is currently owned by another object.

is_same
int function(cef_binary_value_t* self, cef_binary_value_t* that) nothrow is_same;

Returns true (1) if this object and |that| object have the same underlying data.

is_valid
int function(cef_binary_value_t* self) nothrow is_valid;

Returns true (1) if this object is valid. This object may become invalid if the underlying data is owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. Do not call any other functions if this function returns false (0).

Meta