Journal article Open Access

# General binary file parser version 1.0.1

Jeroen F.J. laros

### Citation Style Language JSON Export

{
"publisher": "Zenodo",
"DOI": "10.5281/zenodo.1295625",
"container_title": "JOSS - The Journal of Open Source Software",
"language": "eng",
"title": "General binary file parser version 1.0.1",
"issued": {
"date-parts": [
[
2018,
6,
21
]
]
},
"abstract": "<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>",
"author": [
{
"family": "Jeroen F.J. laros"
}
],
"page": "766",
"volume": "3",
"version": "v1.0.1",
"type": "article-journal",
"issue": "26",
"id": "1295625"
}
50
4
views