ServiceRecordCreatorCreateElement Method

Create the element in the buffer starting at offset, and return its totalLength.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
protected virtual int CreateElement(
	ServiceElement element,
	byte[] buf,
	int offset
)

Parameters

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.

Return Value

Int32
The total length of the encoded element written to the buffer

See Also