public static void Encode(IByteWriter stream, OfferEntryFlags value) { XdrEncoding.EncodeInt32((int)value.InnerValue, stream); }