Example #1
0
 public static void Encode(XdrDataOutputStream stream, SequenceNumber encodedSequenceNumber)
 {
     Int64.Encode(stream, encodedSequenceNumber.InnerValue);
 }
Example #2
0
 public static void Encode(XdrDataOutputStream stream, InflationPayout encodedInflationPayout)
 {
     AccountID.Encode(stream, encodedInflationPayout.Destination);
     Int64.Encode(stream, encodedInflationPayout.Amount);
 }
 public static void Encode(XdrDataOutputStream stream, LedgerKeyOffer encodedLedgerKeyOffer)
 {
     AccountID.Encode(stream, encodedLedgerKeyOffer.SellerID);
     Int64.Encode(stream, encodedLedgerKeyOffer.OfferID);
 }
Example #4
0
 public static void Encode(XdrDataOutputStream stream, Liabilities encodedLiabilities)
 {
     Int64.Encode(stream, encodedLiabilities.Buying);
     Int64.Encode(stream, encodedLiabilities.Selling);
 }
Example #5
0
 public static void Encode(XdrDataOutputStream stream, SimplePaymentResult encodedSimplePaymentResult)
 {
     AccountID.Encode(stream, encodedSimplePaymentResult.Destination);
     Asset.Encode(stream, encodedSimplePaymentResult.Asset);
     Int64.Encode(stream, encodedSimplePaymentResult.Amount);
 }
 public static void Encode(XdrDataOutputStream stream, ChangeTrustOp encodedChangeTrustOp)
 {
     Asset.Encode(stream, encodedChangeTrustOp.Line);
     Int64.Encode(stream, encodedChangeTrustOp.Limit);
 }