Wombat.MamaMsg.getVectorU64 C# (CSharp) Method

getVectorU64() public method

Get a vector of unsigned 64 bit integers.
public getVectorU64 ( string name, ushort fid ) : ulong[]
name string
fid ushort
return ulong[]
        public ulong[] getVectorU64(
			string name, 
			ushort fid)
        {
            EnsurePeerCreated();
            IntPtr array = IntPtr.Zero;
            uint size = 0;
            int code = NativeMethods.mamaMsg_getVectorU64(nativeHandle, name, fid,ref array, ref size);
            CheckResultCode(code);
            long[] lRet = new long[size];
            ulong[] ret = new ulong[size];
            Marshal.Copy(array, lRet, 0, (int)size);

            for (int i = 0; i < ret.Length; i++)
            {
                ret[i] = (ulong)lRet[i];
            }

            return ret;
        }

Same methods

MamaMsg::getVectorU64 ( Wombat.MamaFieldDescriptor descriptor ) : ulong[]
MamaMsg::getVectorU64 ( Wombat.MamaFieldDescriptor descriptor, ulong valueIfMissing ) : ulong[]
MamaMsg::getVectorU64 ( string name, ushort fid, ulong valueIfMissing ) : ulong[]
MamaMsg