<awangdev>443. String Compression_1.java
private int assignChar(char[] chars, int index, int count) {

        String s = String.valueOf(count);
        for (char c : s.toCharArray()) {
            chars[index++] = c;
        }
        return index;
    }
private int sample_funcname ( char [ ] var_0 , int var_1 , int var_2 ) {
  String var_5 = String . valueOf ( var_2 ) ;
  for ( char var_7 : var_5 . toCharArray ( ) ) {
    var_0 [ var_1 ++ ] = var_7 ;
  }
  return var_1 ;
}
