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