How can I use byte
datatype in RS layer on android? I'm targeting Android 4.1 and up for this.
I'm reading a image file in a byte[]
in my Java class and intend to pass this byte[]
to RenderScript for some processing and then get the byte[]
data back in Java class. I'm quite aware of doing this stuff had the data been int[]
. So in other words my question would be - what is the equivalent datatype of byte in RenderScript?