parser: use endian-reader