This reference describes unreleased code on main; no release documents it yet.

RLMeshBytes

structExperimental#include <rlmesh.h>[source]

An owned buffer produced by the capi (its cap lets the capi reclaim the allocation). Free with rlmesh_bytes_free. An EMPTY buffer is normalized to {NULL, 0, 0} — data is never a non-NULL zero-length pointer, so a consumer may branch on data as well as on len — and rlmesh_bytes_free accepts that form.

struct RLMeshBytes

data

field[source]
uint8_t* data

len

field[source]
size_t len

cap

field[source]
size_t cap