Ion C
C library for Ion
_ion_string Struct Reference

#include <ion_string.h>

Data Fields

int32_t length
 
BYTE * value
 

Detailed Description

Ion strings are length prefixed value encoded using UTF8 this struct provides an independent lifetime for these where references into the current buffer or references to external strings are unified as a single representation

a length == 0 and value == NULL is a null string

Field Documentation

◆ length

int32_t _ion_string::length

The number of bytes in the value array.

◆ value

BYTE* _ion_string::value

UTF-8 encoded text, not null-terminated.


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