Mask values to use with the enum ObexOpcode.
For a list of all members of this type, see ObexOpcodeMasks Members.
System.Object
Brecham.Obex.Pdus.ObexOpcodeMasks
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Mask values to use with the enum ObexOpcode. The Opcode value encodes in the top bit whether it is 'Final' or not, so one can use code like the following.
[C#]
ObexOpcode opcode = ...;
bool isFinal = (reqPdu.Opcode & ObexOpcodeMasks.FinalBit) != 0;
Namespace: Brecham.Obex.Pdus
Assembly: Brecham.Obex (in Brecham.Obex.dll)
ObexOpcodeMasks Members | Brecham.Obex.Pdus Namespace