public static void Encode(IByteWriter stream, TransactionResultSet encodedTransactionResultSet) { int resultssize = encodedTransactionResultSet.Results.Length; XdrEncoding.EncodeInt32(resultssize, stream); for (int i = 0; i < resultssize; i++) { TransactionResultPair.Encode(stream, encodedTransactionResultSet.Results[i]); } }
public static void Encode(XdrDataOutputStream stream, TransactionResultSet encodedTransactionResultSet) { var resultssize = encodedTransactionResultSet.Results.Length; stream.WriteInt(resultssize); for (var i = 0; i < resultssize; i++) { TransactionResultPair.Encode(stream, encodedTransactionResultSet.Results[i]); } }
public static void Encode(XdrDataOutputStream stream, TransactionResultMeta encodedTransactionResultMeta) { TransactionResultPair.Encode(stream, encodedTransactionResultMeta.Result); LedgerEntryChanges.Encode(stream, encodedTransactionResultMeta.FeeProcessing); TransactionMeta.Encode(stream, encodedTransactionResultMeta.TxApplyProcessing); }