public static SetTrustLineFlagsResult Decode(XdrDataInputStream stream)
        {
            SetTrustLineFlagsResult     decodedSetTrustLineFlagsResult = new SetTrustLineFlagsResult();
            SetTrustLineFlagsResultCode discriminant = SetTrustLineFlagsResultCode.Decode(stream);

            decodedSetTrustLineFlagsResult.Discriminant = discriminant;
            switch (decodedSetTrustLineFlagsResult.Discriminant.InnerValue)
            {
            case SetTrustLineFlagsResultCode.SetTrustLineFlagsResultCodeEnum.SET_TRUST_LINE_FLAGS_SUCCESS:
                break;

            default:
                break;
            }
            return(decodedSetTrustLineFlagsResult);
        }
Exemplo n.º 2
0
 public static void Encode(XdrDataOutputStream stream, SetTrustLineFlagsResultCode value)
 {
     stream.WriteInt((int)value.InnerValue);
 }