[
https://issues.apache.org/jira/browse/PROTON-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895546#comment-15895546
]
ASF GitHub Bot commented on PROTON-1409:
----------------------------------------
Github user clebertsuconic commented on the issue:
https://github.com/apache/qpid-proton-j/pull/7
@gemmellr since the current method is not part of the api, I renamed it to
getReadableBytes, changed a test to allocate the exact number of bytes
available before the recv was called, and added some javadoc.
Let me know if you see any edits on the javadoc I wrote. Or feel free to
commit on top of that of course.
> Expose delivery size
> --------------------
>
> Key: PROTON-1409
> URL: https://issues.apache.org/jira/browse/PROTON-1409
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-j
> Reporter: clebert suconic
>
> When I'm receiving the Delivery on the broker, I have to pre-create a buffer
> to copy the byte array inside the Delivery.
> I would like to have it exposed so I only allocated the required bytes.
> I will follow up with a PR on this
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]