public static void Encode(XdrDataOutputStream stream, CreateAccountOp encodedCreateAccountOp)
 {
     AccountID.Encode(stream, encodedCreateAccountOp.Destination);
     Int64.Encode(stream, encodedCreateAccountOp.StartingBalance);
 }
Exemplo n.º 2
0
 public static void Encode(XdrDataOutputStream stream, TransactionResult encodedTransactionResult)
 {
     Int64.Encode(stream, encodedTransactionResult.FeeCharged);
     TransactionResultResult.Encode(stream, encodedTransactionResult.Result);
     TransactionResultExt.Encode(stream, encodedTransactionResult.Ext);
 }
Exemplo n.º 3
0
 public static void Encode(XdrDataOutputStream stream, SequenceNumber encodedSequenceNumber)
 {
     Int64.Encode(stream, encodedSequenceNumber.InnerValue);
 }
Exemplo n.º 4
0
 public static void Encode(IByteWriter stream, PaymentOp encodedPaymentOp)
 {
     AccountID.Encode(stream, encodedPaymentOp.Destination);
     Asset.Encode(stream, encodedPaymentOp.Asset);
     Int64.Encode(stream, encodedPaymentOp.Amount);
 }