as.character.tcc_cstring: Convert a 'tcc_cstring' object to an R string

as.character.tcc_cstringR Documentation

Convert a tcc_cstring object to an R string

Description

Convert a tcc_cstring object to an R string

Usage

## S3 method for class 'tcc_cstring'
as.character(x, ...)

Arguments

x

A tcc_cstring object.

...

Ignored.

Value

A character scalar containing the string value. Returns the cached R copy when available; otherwise reads the current NUL-terminated C string from x$ptr.


Rtinycc documentation built on April 28, 2026, 1:07 a.m.