Examples of VMArrayInstance_i16


Examples of org.perl6.nqp.sixmodel.reprs.VMArrayInstance_i16

            else if (encoding.equals("utf16")) {
                short[] buffer = new short[str.length()];
                for (int i = 0; i < str.length(); i++)
                    buffer[i] = (short)str.charAt(i);
                if (res instanceof VMArrayInstance_i16) {
                    VMArrayInstance_i16 arr = (VMArrayInstance_i16)res;
                    arr.elems = buffer.length;
                    arr.start = 0;
                    arr.slots = buffer;
                }
                else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.