how to clear a ByteArray? var aob = ByteArray(10...
# announcements
i
how to clear a ByteArray? var aob = ByteArray(1024)
n
I don't think you can clear it
you can set all elements, but you cannot reduce the size
m
Copy code
aob.fill(0) // set all elements to 0
480 Views