Ruby 4.1.0dev (2026-11-13 revision 1d214cd7786e916cd5b198eb58436a5e10b45cc3)
Data Fields
pm_string_t Struct Reference

A view of a sequence of bytes. More...

#include <stringy.h>

Data Fields

const uint8_t * source
 A pointer to the start of the string.
 
size_t length
 The length of the string in bytes of memory.
 

Detailed Description

A view of a sequence of bytes.

The string does not own the bytes, so they must remain valid for as long as the string is in use.

Definition at line 23 of file stringy.h.

Field Documentation

◆ length

size_t pm_string_t::length

The length of the string in bytes of memory.

Definition at line 28 of file stringy.h.

◆ source

const uint8_t* pm_string_t::source

A pointer to the start of the string.

Definition at line 25 of file stringy.h.


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