![]() |
Diffusion C API 6.12.0
|
Binary datatype associated functions. More...
Functions | |
| bool | read_diffusion_binary_value (const DIFFUSION_VALUE_T *value, void **binary, DIFFUSION_API_ERROR *error) |
| Get the binary value. | |
| bool | write_diffusion_binary_value (const void *binary, const BUF_T *buf, size_t len) |
| Write binary data into a BUF_T for an update. | |
Binary datatype associated functions.
| bool read_diffusion_binary_value | ( | const DIFFUSION_VALUE_T * | value, |
| void ** | binary, | ||
| DIFFUSION_API_ERROR * | error ) |
Get the binary value.
| value | value to retrieve the binary data from. |
| binary | pointer to a pointer where the binary data will be stored. Must be freed after use. |
| error | populated if an error occurs. Can be NULL. |
| bool write_diffusion_binary_value | ( | const void * | binary, |
| const BUF_T * | buf, | ||
| size_t | len ) |
Write binary data into a BUF_T for an update.
| binary | value to be written into the BUF_T |
| buf | BUF_T to write the binary value into |
| len | the length of the binary value to be written into the BUF_T |