Reader
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| parse_bool | 1 | Parse a boolean. |
| parse_int | 1 | Parse an integer. |
| parse_double | 1 | Parse a double. |
| parse_complex | 1 | Parse a complex number. |
| parse_string | 1 | Parse a string. |
| parse_byte | 1 | Read a single raw byte (used for R 4.x compact integer / 1-byte lengths). |
| parse_int24 | 1 | Read the 24-bit (3-byte) object info integer. |
| parse_all | 1 | Parse all the file. |
| parse_versions | 1 | Parse the versions header. |
| parse_extra_info | 1 | Parse the versions header. |
| expand_altrep_to_object | 1 | Expand alternative representation to normal object. |
| parse_R_object | 1 | Parse a R object. |
| ParseRDataBinary | 1 | Select the appropiate parser and parse all the info. |
| ParseData | 1 | Parse the data of a R file, received as a sequence of bytes. |
03 Members
Parse a boolean.
Parse an integer.
Parse a double.
Parse a complex number.
Int32)Parse a string.
| Name | Type | Description |
|---|---|---|
length | Int32 | - |
Read a single raw byte (used for R 4.x compact integer / 1-byte lengths).
Read the 24-bit (3-byte) object info integer. R's serialization format stores the per-object info header as a 3-byte big-endian integer, not a full 4-byte XDR word. Reading it as a 4-byte int shifts every following object (length + payload) by one byte and corrupts the parse.
Parse all the file.
Parse the versions header.
Parse the versions header.
| Name | Type | Description |
|---|---|---|
versions | RVersions | - |
Expand alternative representation to normal object.
List(Of RObject), Boolean)Parse a R object.
| Name | Type | Description |
|---|---|---|
reference_list | List(Of RObject) | - |
BinaryDataReader, Boolean, Boolean)Select the appropiate parser and parse all the info.
| Name | Type | Description |
|---|---|---|
bin | BinaryDataReader | - |
Stream, Boolean, Boolean)Parse the data of a R file, received as a sequence of bytes.
| Name | Type | Description |
|---|---|---|
bin | Stream | Data extracted of a R file. |
Data contained in the file (versions and object).