read_character: read character from binary

View source: R/read_bin_types.R

read_characterR Documentation

read character from binary

Description

read character from binary

Usage

read_character(raw, cursor, n = 1L, n_char, encoding = "latin1")

Arguments

raw

raw vector

cursor

offset

n

number of elements

n_char

integer with number of desired characters to read from raw

encoding

encoding to assign character strings that are read. Default is "latin1"., which will use Windows Latin 1 (ANSI) encoding. This is how Bruker software OPUS is assumed to commonly store strings.


opusreader2 documentation built on Feb. 3, 2026, 5:07 p.m.