Beispiel #1
0
        public static JSArrayInteger UBytesToJSArray(byte[] data)
        {
            JSArrayInteger jsan   = (JSArrayInteger)Script.Literal("[]");
            int            length = data.Length;

            for (int index = length - 1; index >= 0; index--)
            {
                jsan.Set(index, data[index] & 255);
            }
            return(jsan);
        }
Beispiel #2
0
        public static JSArrayInteger UInt16ToJSArray(short[] data)
        {
            JSArrayInteger jsan   = (JSArrayInteger)Script.Literal("[]");
            int            length = data.Length;

            for (int index = length - 1; index >= 0; index--)
            {
                jsan.Set(index, data[index] & 65535);
            }
            return(jsan);
        }
 public void Set(JSArrayInteger array, int offset)
 {
 }
 public void Set(JSArrayInteger array)
 {
 }
 public Float32Array(JSArrayInteger data)
 {
 }
 public void Set(JSArrayInteger array, int offset) { }
 public void Set(JSArrayInteger array) { }
 public Int16Array(JSArrayInteger data) { }
Beispiel #9
0
 public Int16Array(JSArrayInteger data)
 {
 }
 public Uint32Array(JSArrayInteger data)
 {
 }
 public Float64Array(JSArrayInteger data) { }
 public Uint32Array(JSArrayInteger data) { }
 public Float32Array(JSArrayInteger data) { }
 public Float64Array(JSArrayInteger data)
 {
 }