ServiceRecordParserSplitHeaderByte Method
Split a header byte into its ElementTypeDescriptor and
SizeIndex parts.
Namespace: InTheHand.Net.Bluetooth.SdpAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static void SplitHeaderByte(
byte headerByte,
out ElementTypeDescriptor etd,
out SizeIndex sizeIndex
)
Public Shared Sub SplitHeaderByte (
headerByte As Byte,
<OutAttribute> ByRef etd As ElementTypeDescriptor,
<OutAttribute> ByRef sizeIndex As SizeIndex
)
public:
static void SplitHeaderByte(
unsigned char headerByte,
[OutAttribute] ElementTypeDescriptor% etd,
[OutAttribute] SizeIndex% sizeIndex
)
static member SplitHeaderByte :
headerByte : byte *
etd : ElementTypeDescriptor byref *
sizeIndex : SizeIndex byref -> unit
Parameters
- headerByte Byte
- The byte from the header.
- etd ElementTypeDescriptor
- The ElementTypeDescriptor
value from the header byte.
- sizeIndex SizeIndex
- The SizeIndex
value from a header byte.
The ElementTypeDescriptor returned is not checked to be a
known value.
Reference
GetElementTypeDescriptor(Byte)
GetSizeIndex(Byte)