Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.15.0
-
None
Description
The current send and recv method in Sender and Receiver (as well as in DeliveryImpl) operate on byte array types. Depending on the application the code might actually be using some other byte buffering scheme such as ByteBuffer etc. We can easily provide additional methods that operate on a generic ReadableBuffer and WritableBuffer type that we define so that these applications can operate more efficiently.
We already define WritableBuffer, the ReadableBuffer would like quite the same.