Next: syslib bytevectors concatenating, Previous: syslib bytevectors accessors, Up: syslib bytevectors [Index]
For these operations, the arguments have the following meaning:
The source bytevector.
A non–negative fixnum representing the inclusive start index in the source bytevector src.bv.
A non–negative fixnum representing the exclusive end index in the source bytevector src.bv.
The destination bytevector.
A non–negative fixnum representing the inclusive start index in the destination bytevector dst.bv.
A non–negative fixnum representing the exclusive end index in the destination bytevector src.bv.
Build and return a copy of the bytevector bv.
Copy the bytes of src.bv from src.start inclusive to src.end exclusive, to dst.bv starting at dst.start inclusive.
Copy count bytes from src.bv starting at src.start inclusive to dst.bv starting at dst.start inclusive.
Copy count bytes of bv from src.start inclusive to bv itself starting at dst.start inclusive. The copy happens forwards, so it is suitable for the case:
src.start > dst.start
Copy count bytes of bv from src.start inclusive to bv itself starting at dst.start inclusive. The copy happens backwards, so it is suitable for the case:
src.start < dst.start