Image to byte[]

MatheusDiasMatheusDias BRMember

Hi !
I need to save an image at Parse, so I need to convert it to byte[]. Any idea how can I achieve this? I've searched for it but none of the options worked for me. I'm using a shared Xamarin Forms project. Here's an example with text :

byte[] data = System.Text.Encoding.UTF8.GetBytes("Working at Parse is great!");
ParseFile file = new ParseFile("resume.txt", data);

I'm beginner and I really need help ! Thanks in advance .

Answers

Sign In or Register to comment.