public static char[] bytesToChar(byte[] bytes,String encoding) throws IOException {
  return getInputStreamAsCharArray(new ByteArrayInputStream(bytes),bytes.length,encoding);
}

public static char [ ] bytesToChar ( byte [ ] bytes , String encoding ) throws IOException { return getInputStreamAsCharArray ( new ByteArrayInputStream ( bytes ) , bytes . length , encoding ) ; }
returns the given bytes as a char array using a given encoding ( null means platform default ) .
