Replace Unsafe with new Slice ByteArrays utility