This question may be easy but I could not found answer on internet.
I have icon.png in Resource/drawable folder in Droid project. I want to convert this image into byte array.
I know the conversion from memory stream to byte array but I could not find a way to convert image to byte array or memorystream