ServiceRecordCreatorCreateElement Method
Create the element in the buffer starting at offset, and return its totalLength.
Namespace: InTheHand.Net.Bluetooth.SdpAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
protected virtual int CreateElement(
ServiceElement element,
byte[] buf,
int offset
)
Protected Overridable Function CreateElement (
element As ServiceElement,
buf As Byte(),
offset As Integer
) As Integer
protected:
virtual int CreateElement(
ServiceElement^ element,
array<unsigned char>^ buf,
int offset
)
abstract CreateElement :
element : ServiceElement *
buf : byte[] *
offset : int -> int
override CreateElement :
element : ServiceElement *
buf : byte[] *
offset : int -> int
- element ServiceElement
- The element to create.
- buf Byte
- The byte array to write the encoded element to.
- offset Int32
- The place to start writing in buf.
Int32The total length of the encoded element written to the buffer