MEDIUM_ATOM_LEN_MASK
header0 |= (len >> 8) & MEDIUM_ATOM_LEN_MASK;
tok->len = (((pos[0] & MEDIUM_ATOM_LEN_MASK) << 8) | pos[1]) + 2;