Wombat.MamaMsg.updateVectorU8 C# (CSharp) Method

updateVectorU8() public method

Update an array of unsigned 8 bit integers.
public updateVectorU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void
        public void updateVectorU8(
			string name,
			ushort fid,
			byte[] val)
        {
            EnsurePeerCreated();
            IntPtr ptr = Marshal.AllocHGlobal(val.Length);
            try
            {
                Marshal.Copy(val, 0, ptr, val.Length);
                int code = NativeMethods.mamaMsg_updateVectorU8(nativeHandle, name, fid, ptr, val.Length);
                CheckResultCode(code);
            }
            finally
            {
                Marshal.FreeHGlobal(ptr);
            }
        }
MamaMsg