Ruby 4.1.0dev (2026-11-10 revision 1f2a4bd5750bb3b685c24aee1fbd7530e895cf3f)
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: