convertByteArrayToString

Converts the given byte array to string, tries to guess the correct charset. Fallbacks to US-ASCII charset.

Return

string created by decoding the given array of bytes

Parameters

rawBytes

raw bytes for string