- Home /
Debugging Byte?
I'm using WWWForm()
to contact a server. I need to look at the byte[] returned from .bytes
. Debug.Log()
just tells me that it is a byte[].
How am I suppose to inspect the contents? A for loop over the array?
For what it's worth I'm using UnityScript at the moment, but an answer provided for C# and UnityScript will get the acceptance. Example code encouraged to make this question more useful to others.
For bonus points, can someone point me to documentation for Unity's data types? I was looking for info on byte[], and I can't seem to find head nor tail of that information.
Answer by jashan · Jul 21, 2010 at 10:45 PM
What you might be interested in is converting byte-arrays to strings and back: String to Byte Array Conversion in C# and VB.NET (and back)
Your answer
Follow this Question
Related Questions
wwwform send an array the right way! 0 Answers
Can I reuse a WWWForm? 1 Answer
OAuth process 0 Answers
How to debug php code when use www to communicate with server side. 0 Answers
www form 400 bad request 1 Answer