OP_TRIM_MASK
flags ^= OP_TRIM_MASK;
if (flags & OP_TRIM_MASK)
static uint32_t flags = OP_READ_MASK | OP_WRITE_MASK | OP_TRIM_MASK;