You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes the logic for resizing the buffer so that it first calculates
the new buffer size and then allocates the buffer instead of growing the
buffer in multiple steps during the calculation.
Additionally, the commit adds assertions to ensure the method is called
with valid parameters.
The Javadoc of `copyToBuffer` now describes the assertions and adds an
example showing how the method is intended to be used.
Finally, the commit adds two test cases for the method.
0 commit comments