If you were to convert your example for the number 2 into binary and reverse the order of the last byte you would get:
00000010 which is decimal 2.
Some food for thought.
I would suggest looking for the code that writes/reads the number to disk and figuring out how it implements this encoding.
metadoktor
"The doktor is in."
In reply to Too little information.
by metadoktor
in thread bizarre number encoding
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |