-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
All Buffers.copy methods that receive the parameter count should handle negative count in a similar way negative sliceSizes are handled by slice methods.
If count is negative, the last -count bytes should be copied from the buffer.
For example, in the buffer
{x, y, z, w}, a copy request with count -1 should return
{w}result. Similarly, a copy request with count -2 would return
{z, w}, and a copy request with count -3,
{y, z, w}.
- relates to
-
XNIO-123 Complete API module test coverage
- Resolved