goja-core/src/main/java/goja/core/kits/lang/CharKit.java
public static byte[] toAsciiByteArray(char[] carr) {
        byte[] barr = new byte[carr.length];
        for (int i = 0; i < carr.length; i++) {
            barr[i] = (byte) ((int) (carr[i] <= 0xFF ? carr[i] : 0x3F));
        }
        return barr;
    }
public static byte[] toAsciiByteArray(char[] carr) {
        byte[] barr = new byte[carr.length];
        for (int i = 0; i < carr.length; i++) {
            barr[i] = (byte) ((int) (carr[i] <= 0xFF ? carr[i] : 0x3F));
        }
        return barr;
    }
public static byte [ ] toAsciiByteArray ( char [ ] carr ) { byte [ ] barr = new byte [ carr . length ] ; for ( int i = 0 ; i < carr . length ; i ++ ) { barr [ i ] = ( byte ) ( ( int ) ( carr [ i ] <= 0xFF ? carr [ i ] : 0x3F ) ) ; } return barr ; }
Converts char array into {@link #toAscii(char) ASCII} array.
Converts char array into {