So I have a byte [] array which I have created in my android app. I want to use SharedPreferences from android to store it and retrieve it back again when I start my app. How can I do that ? Answer You could try to save it has a String: Storing the array: Retrieving the array:
Tag: bytearray
Is there an equivalent to memcpy() in Java?
I have a byte[] and would like to copy it into another byte[]. Maybe I am showing my simple ‘C’ background here, but is there an equivalent to memcpy() on byte arrays in Java?