Submitted by Leonard Daly on
An SRC file contains a Header and a Data section. The Header is divied into a preable and a body. The preamble is a fixed size as binary data. The header body is encoded in the format specified in the preamble. For this version the only format is JSON. It is described below. The Data section is binary encoded and is described in section-entity TBD.
Header
The SRC file Header is JSON-encoded text that describes all characteristics of the file and embedded data. It is a single array consisting of the following elements
Data
The "Data" block of the SRC file then simply contains bytes, which are described within the structured header to be a sequence of chunks. A valid structured header must describe all of the "Data" block by a list of subsequent, non-overlapping chunks. There must not be any range of bytes within the body that is not described by a chunk.
Example
example here
- Log in to post comments