Parse field length and flags.