PRONOM_Research
PRONOM_Research copied to clipboard
Meaning of [0000:10000] in a byte sequence
There are a small number of signatures in Pronom v119 (e.g., fmt/899, fmt/900, fmt/1795) that includes [0000:1000]. Normally, the square brackets match a single byte within an inclusive range where the byte values are hex encoded. For example, [00:AF] should match bytes with decimal values 0 through 175.
Can someone clarify what [0000:1000] means? Is it a signature typo? Or is it a four byte pattern for 32-bit integers from 0 through 4096? Or does it mean something else?
If it meant four bytes representing numbers x0000 through x10000, then we could write this as [0:1]??? - the first byte is either a zero or 1, then the remaining three bytes can have any value.
@ross-spencer - You may have contributed this signature, so are likely to know the answer!