parse_hex_between: Parse a block of data between addresses

Description Usage Arguments Value

View source: R/hex.R

Description

Read a block of binary data between two addresses and split it into chunks according to the matches to byte sequence 'split' within them.

Usage

1

Arguments

path

File path.

start

Integer or character string representing a hexadecimal number to set the initial position of binary file connection.

end

Integer or character string representing a hexadecimal number that signifies the address up to which the file is read.

split

Sequence of bytes represented as a character string, eg. '"\x50"' or '"\x50\x51"'.

Value

A list of the same length as the number of splits of the byte sequence.


andbamp/hexutils documentation built on Dec. 19, 2021, 2:34 a.m.