--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Michal,I had few queries.a) Are ASCII values and Byte values same?
b) And why "utf-8" encoding was used in above case? and what is use of this encoding?scala> val s = new String(bs, "UTF-8")
s: String = ab
Thanks & Regards,Jitendra
On Monday, June 30, 2014 11:49:47 AM UTC+5:30, jitendra shelar wrote:Hi,I am newbie to scala.I want to convert below array of byte into ASCII representation.ct = [A@ce7e26a // ct : Array[Byte]
Something like var ascii = Array(23,65,45,33,..).And back from ASCII array to original array of byte.Can somebody please help me on this?Thanks,Jitendra
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.