decode_binary_plist: Decode binary plist data

View source: R/plist.R

decode_binary_plistR Documentation

Decode binary plist data

Description

Decode binary plist data

Usage

decode_binary_plist(x)

Arguments

x

A raw vector

Details

Some of the databases in the iOS backups contain columns with binary data that appear to be binary plist objects. This function can be used to decode the raw data into an proper R object.

Value

The data stored in the plist. Dictionaries are converted to named lists, arrays are converted to lists, and other objects are returned as their equivalent atomic types

References

https://en.wikipedia.org/wiki/Property_list

http://fileformats.archiveteam.org/wiki/Property_List/Binary

https://github.com/google/binplist/

Examples

example <- system.file("extdata", "example.bplist", package = "myphone")
bytes <- readBin(example, "raw", n=file.size(example))
decode_binary_plist(bytes)

MrFlick/myphone documentation built on Sept. 16, 2022, 12:07 p.m.