Johan Tibell wrote: > > OK. So we can implement copyByteArray# by FFI importing memcpy and > using the automatic conversion of ByteArray#s into pointers in the FFI. For > MutableByteArray#s we need to use an unsafeCoerce# as well. No. Both ByteArray# and MutableByteArray# can be passed to FFI calls. Roman