DETLEF C SDK
Native embedding and package authoring
Loading...
Searching...
No Matches
DetlefText Struct Reference

#include <detlef.h>

Data Fields

uint8_t * data
 
size_t len
 

Detailed Description

Owned UTF-8 bytes without a trailing NUL. Must be freed once with detlef_text_free(), never C free(). Copying the struct does not duplicate ownership.

Definition at line 83 of file detlef.h.

Field Documentation

◆ data

uint8_t* DetlefText::data

Owned byte buffer; must not be freed independently.

Definition at line 85 of file detlef.h.

◆ len

size_t DetlefText::len

Byte length, excluding any trailing NUL.

Definition at line 88 of file detlef.h.


The documentation for this struct was generated from the following file: