[This is preliminary documentation and subject to change.]
Initialise a new instance of the ObexPduFactory class, with a local receive buffer size as specified. This instance can then be used to create and parse OBEX PDUs exchanged with an OBEX peer device.
bufferSize sets size of our local receive buffer, which is as the LocalMru property. This size will be advertised to the peer as our “maximum OBEX packet length” in the CONNECT PDU if one is sent.
See MinimumMru and MaximumMru for size restrictions
| Exception Type | Condition |
|---|---|
| ArgumentException | bufferSize is not in the valid range. |
ObexPduFactory Class | Brecham.Obex.Pdus Namespace