scodec-bits
scodec-bits copied to clipboard
Zero-copy toArray
Is there any way we could not do an array copy when the underlying data is already an array?
val array: Array[Byte]
ByteVector.view(array).toArray