pure-parsers: document index class constants
This also adds the big endian prefix > to make the constants truly
platform-independent, even if no issue with this has been reported in the wild.
Differential Revision: https://phab.mercurial-scm.org/D10104