It doesn't appear as though there's a straightforward way of copying the contents of a buffer produced by LArray.mmap into another buffer produced by LArray.mmap. LArray.mmap returns a MappedLByteArray whereas its copyTo method requires the target to be an LByteArray.
It doesn't appear as though there's a straightforward way of copying the contents of a buffer produced by
LArray.mmap
into another buffer produced byLArray.mmap
.LArray.mmap
returns aMappedLByteArray
whereas itscopyTo
method requires the target to be anLByteArray
.Any advice? Thanks.