Wombat.MamaMsg.tryU8 C# (CSharp) Method

tryU8() public method

Try to get a I8, signed 8 bit integer, field.
public tryU8 ( string name, ushort fid, byte &result ) : bool
name string
fid ushort
result byte
return bool
        public bool tryU8(
			string name,
			ushort fid,
			ref byte result)
        {
            EnsurePeerCreated();
            byte val = 0;
            int code = NativeMethods.mamaMsg_getU8(nativeHandle, name, fid,ref val);
            if (CheckResultCodeIgnoreNotFound(code) != MamaStatus.mamaStatus.MAMA_STATUS_OK)
            {
                return false;
            }
            result = val;
            return true;
        }

Same methods

MamaMsg::tryU8 ( Wombat.MamaFieldDescriptor descriptor, byte &result ) : bool
MamaMsg