Tuesday, April 30, 2019

.DS_Store File Format


#MacOS ‘.DS_Store’ files have now their binary format description on @kaitai_io now.

It means it is now possible to easily parse those files in many programming languages!

Kaitai Struct:

Kaitai Struct is a declarative language used to describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.

The main idea is that a particular format is described in Kaitai Struct language (.ksy file) and then can be compiled with ksc into source files in one of the supported programming languages. These modules will include a generated code for a parser that can read described data structure from a file / stream and give access to it in a nice, easy-to-comprehend API.


Comments RSS · Twitter

Leave a Comment