Convert a C-style null-terminated string pointer back to R character string. Handles UTF-8 decoding automatically.
Usage
tcc_read_cstring(
ptr,
max_bytes = NULL,
null_action = c("na", "empty", "error")
)Convert a C-style null-terminated string pointer back to R character string. Handles UTF-8 decoding automatically.
tcc_read_cstring(
ptr,
max_bytes = NULL,
null_action = c("na", "empty", "error")
)