These methods make it possible to accurately split composite buffers at component boundaries, either by rounding the offset down or up to the nearest component boundary, respectively. Composite buffers already support the split method, but it is hard for client code to predict precisely where component boundaries are placed inside composite buffers. When split is used with an offset that does not land exactly on a component boundary, then the internal component that the offset lands on will also be split. This may make it harder to precisely reason about memory life cycles and reuse. |
||
---|---|---|
.. | ||
api |