![]() |
libghostty
|
#include <ghostty/vt/types.h>
Data Fields | |
| const uint8_t * | ptr |
| size_t | len |
A borrowed byte string (pointer + length).
The memory is not owned by this struct. The pointer is only valid for the lifetime documented by the API that produces or consumes it. Empty strings produced by the library have a non-NULL pointer to valid storage.
| size_t len |
Length of the string in bytes.
| const uint8_t* ptr |
Pointer to the string bytes.