I'm buiding a streaming video server in Windows Media Http Streaming Protocol (WMSP) with C#. I've read WMSP Specification. In Framing Header of packets as $H, $D... has 2 fields :
B (1 bit): A 1-bit flag. This flag SHOULD be set to 1 if the next packet will be sent immediately after this packet is sent. In this context, "immediately" means that the server does not intentionally introduce a delay (such as a pacing delay) between the transmission of the two packets. In all other cases, the flag MUST be 0.<56>
Frame (7 bits): A 7-bit field. This field MUST have the value 0x24. (If the B and Frame fields are treated as a single byte, the value of this byte will be 0x24 when the B field is 0, and 0xA4 when the B field is 1.)
Data type of this 2 field is bit when the smallest data type in C# is byte. So, how to declare and set value for this 2 field ?