map_binary_data_type: Binary data type mapping

Description Usage Arguments Note

View source: R/utilities.R

Description

Maps binary C data types to proper R data types and byte lengths

Usage

1
2
map_binary_data_type(type = c("binary", "UTF8", "UTF16", "UTF32", "short",
  "long", "long long", "float", "double"))

Arguments

type
  • 'binary' = raw with 1 byte (raw data)

  • 'UTF8' = character with 1 byte (ascii)

  • 'UTF16' = character with 2 bytes (unicode)

  • 'UTF32' = character with 4 bytes (unicode)

  • 'short' = integer with 2 bytes (16bit)

  • 'long' = integer with 4 bytes (32bit)

  • 'longlong' = integer with 8 bytes (64bit)

  • 'float' = numeric with 4 bytes (32bit)

  • 'double' = numeric with 8 bytes (64bit)

Note

implemented signed int and complex if needed


sebkopf/isoread documentation built on Dec. 31, 2021, 4:15 a.m.