public static bool Decode(BinaryDecoder decoder, out uint value) { value = 0; try { value = decoder.DecodeUInt32(); } catch (System.Exception) { return(false); } return(true); }