Learn R Programming

opusreader2 (version 0.6.8)

read_character: 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.