Operate on bit fields
getBitIndicators function decompose a value into its respective
setBitIndicators combines individual components into a
to "set" a bit field value.
the value to break up into the bit field components.
the named integer vector that defines the bit field elements.
the individual components that are to be combined into a single integer value representing the collection of components. These can be given as names or integer values that correspond to the elements in the defs, either by name or value.
getBitIndicators returns a named integer vector representing
the components of the bit field in the value.
The names of the vector give the symbolic elements that were set in
setBitIndicators returns a single integer value representing
the value from combining the different components (e.g. ORing the bits
of the different values).
Duncan Temple Lang <email@example.com>
Curl homepage http://curl.haxx.se
The features field in
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.