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;
}