Ruby 4.1.0dev (2026-11-09 revision 05e951b61434561a845b0888e5c61ac1735498f7)
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: