Esempio n. 1
0
        public void addBlob(OSCblob oBlob)
        {
            this.typeTag.Add("b");
            byte[] temp = new byte[4];

            foreach (byte[] b in oBlob.blob)
            {
                temp = append(temp, b);
            }
            byte[] temp2 = new byte[4];
            temp2 = toByte(temp.Length + (align(temp.Length) % 4));
            temp  = append(temp2, temp);
            this.value.Add(temp);
        }
Esempio n. 2
0
        public void addBlob(OSCblob oBlob)
        {
            this.typeTag.Add("b");
            byte[] temp = new byte[4];

            foreach (byte[] b in oBlob.blob)
            {
                temp = append(temp, b);
            }
            byte[] temp2 = new byte[4];
            temp2 = toByte(temp.Length + (align(temp.Length) % 4));
            temp = append(temp2, temp);
            this.value.Add(temp);
        }