private static final String toSimpleString ( byte [ ] b ) { StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 , len = b . length ; i < len ; i ++ ) { sb . append ( ( char ) ( b [ i ] & 0xff ) ) ; } String str = sb . toString ( ) ; return str ; }
Convert the byte representation to the String form .