commit | 34fcb2d436787798d4a7eca812b77bf3c2fe700d | [log] [tgz] |
---|---|---|
author | Timothy Bish <tabish121@gmail.com> | Wed Sep 26 15:30:31 2018 -0400 |
committer | Timothy Bish <tabish121@gmail.com> | Wed Sep 26 15:30:36 2018 -0400 |
tree | 0e2cdddd3379e705037d2cdb0a24e3d4609c9487 | |
parent | 232cd0077c462f578c916e7ffde24481fed25b59 [diff] |
PROTON-1941 Add ensureRemaining to the WritableBuffer interface Provide an access point for the codec to request that the WritableBuffer be sized to accept a given number of bytes usually in relation to larger incoming write of a complex type. Add default implementation to preseve backwards compatability and an implementation in the ByteBuffer wrapper that throws early if nont enough bytes exist to handle the announced pending writes.
Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, client libraries, routers, bridges, proxies, and more.
Please see http://qpid.apache.org/proton for more information.