Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
opendal_bytes carries raw-bytes with its length More...
#include <opendal.h>
Public Attributes | |
uint8_t * | data |
uintptr_t | len |
uintptr_t | capacity |
opendal_bytes carries raw-bytes with its length
The opendal_bytes type is a C-compatible substitute for Vec type in Rust, it has to be manually freed. You have to call opendal_bytes_free() to free the heap memory to avoid memory leak.
uintptr_t opendal_bytes::capacity |
The capacity of the byte array
uint8_t* opendal_bytes::data |
Pointing to the byte array on heap
uintptr_t opendal_bytes::len |
The length of the byte array