BlueLibs documentation

OBEXHeadersContainer.SetBodyHeaders Method 

Constructs new body/endbody headers from the raw data passed and adds them to the container's headers if any previous Body/EndBody headers are present, they are removed

[Visual Basic]
Overridable Protected Sub SetBodyHeaders( _
   ByVal DataBytes As Byte(), _
   ByVal MaxHeaderLen As UInt16 _
)
[C#]
protected virtual void SetBodyHeaders(
   byte[] DataBytes,
   ushort MaxHeaderLen
);

Parameters

DataBytes
raw bytes to place into body headers
MaxHeaderLen
maimum size of the header (so a single body header will contain up to MaxHeaderLen - 3 bytes

See Also

OBEXHeadersContainer Class | BlueLibs.OBEX Namespace