libclod
C library for interacting with NBTs, region files, LOD data and other things.
Loading...
Searching...
No Matches
clod_sstr Struct Reference

#include <sstr.h>

Public Attributes

char * ptr
size_t size

Detailed Description

Sized string. If size is 0, ptr should never be dereferenced.

Definition at line 19 of file sstr.h.

Member Data Documentation

◆ ptr

char* clod_sstr::ptr

Pointer to the string data. The underlying array may be read-only.

Definition at line 22 of file sstr.h.

◆ size

size_t clod_sstr::size

Size of the string in bytes.

Definition at line 24 of file sstr.h.


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