public static String encode ( Byte [ ] in ) { byte [ ] tmp = new byte [ in . length ] ; for ( int i = 0 ; i < tmp . length ; i ++ ) { tmp [ i ] = in [ i ] ; } return encode ( tmp ) ; }
Encode a Byte array and return the encoded string .