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 ?
question from:https://stackoverflow.com/questions/45233355/convert-a-byte-array-to-string