Journal article Open Access

# General binary file parser version 1.0.1

Jeroen F.J. laros

### JSON-LD (schema.org) Export

{
"inLanguage": {
"alternateName": "eng",
"@type": "Language",
"name": "English"
},
"description": "<p>This library provides general binary file parsing by interpreting documentation of a file structure and data types. By default, it supports basic data types like big-endian and little-endian integers, floats and doubles, variable length (delimited) strings, maps and bit fields (flags) and it can iterate over sub structures. Other data types are easily added.</p>\n\n<p>The file structure and the types are stored in nested dictionaries. The structure is separated from the types, this way multiple file formats using the same types (within one project for example) can be easily supported without much duplication.</p>\n\n<p>The design of the library is such that all operations can be reversed. This means that fully functional binary editing is possible using this implementation; first use the reader to convert a binary file to a serialised dictionary representation, this representation is easily edited using a text editor, and then use the writer to convert back to binary.</p>\n\n<p>This idea is implemented in two languages; Python and JavaScript. All main development is done in Python. We chose YAML as our preferred serialised dictionary format, but other serialisation formats (JSON for example) can be used too.</p>\n\n<p>Please see <a href=\"https://bin-parser.readthedocs.io/en/latest/index.html\">ReadTheDocs</a> for the latest documentation.</p>",
"creator": [
{
"affiliation": "Leiden University Medical Center",
"@type": "Person",
"name": "Jeroen F.J. laros"
}
],
"url": "https://zenodo.org/record/1295625",
"datePublished": "2018-06-21",
"headline": "General binary file parser version 1.0.1",
"version": "v1.0.1",
"keywords": [
"binary",
"parser",
"yaml",
"json"
],
"@context": "https://schema.org/",
"identifier": "https://doi.org/10.5281/zenodo.1295625",
"@id": "https://doi.org/10.5281/zenodo.1295625",
"@type": "ScholarlyArticle",
"name": "General binary file parser version 1.0.1"
}
37
3
views