Hello DFDL community,

[Definition] Epiphany: a sudden, intuitive perception of or insight into the 
reality or essential meaning of something.

I just had two epiphanies. I want to confirm that my epiphanies are correct.

The epiphanies are with regard to parsing (processing) binary files.

Epiphany #1: Daffodil always processes input files in chunks, from low memory 
address to high memory address (left to right, top to bottom, as viewed in a 
hex editor).

Epiphany #2: Within a chunk, Daffodil may process the chunk's pieces in a 
different order. For example, suppose a chunk is 2 bytes and you have informed 
Daffodil that "bytes are in little endian order." So, Daffodil will treat the 
second byte (high memory byte) as the most significant byte and the first byte 
(low memory byte) as the least significant byte. The numeric value of the two 
bytes is the value of right byte left byte. You might think of that as Daffodil 
processing the two bytes from right to left, within that chunk. But remember, 
chunks are always processed left to right (low memory address to high memory 
address).

Are my two epiphanies correct?

/Roger

Reply via email to