[This is preliminary documentation and subject to change.]
Get a buffer of the correct size for sending. In this implementation one buffer is used for *all* sends for efficiency.
A Byte array of the maximum size of PDU allowed to be sent to the peer. Note this is a shared buffer as discussed above.
Get a buffer of the correct size for sending. In this implementation one buffer is for all sends for effieciency.
Using a single buffer is suitable because OBEX only allow one command to be outstanding at any time, so the response to one command must be received before sending the next. There is one exception to this; the ABORT command can be sent without waiting for the previous response. In that case a new buffer should be allocated with GetNewSendBuffer and passed to a CreateRequest overload that take the buffer in a byte array parameter.
ObexPduFactory Class | Brecham.Obex.Pdus Namespace