On Fri, Nov 12, 2010 at 5:03 PM, John Zabroski <[email protected]>wrote:

>
>
> In that case, some bit sets can be conditional.  For example, a packet
> header might indicate what version of a protocol is being used, and based on
> the protocol, a different set of bindings get introduced for the individual
> bit names. A higher-order byte in a byte stream can also therefore indicate
> the blitting format for a data stream.
>

I would not characterize that as a conditional bit set. I would characterize
that packet format as having a union type - the protocol version is acting
as the discriminator field.

shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to