parser: support both endians
0.3.0