convert a byte array to string

后端 未结 0 1859
攒了一身酷
攒了一身酷 2021-02-11 14:30

My Scala code received a binary from byte stream,it looks like [61 62 63 64].The content is \"abcd\". I use toString to convert it p, but failed. How do I print it as string ?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题