コード例 #1
0
        public static LedgerEntryChanges Decode(IByteReader stream)
        {
            LedgerEntryChanges decodedLedgerEntryChanges = new LedgerEntryChanges();
            int LedgerEntryChangessize = XdrEncoding.DecodeInt32(stream);

            decodedLedgerEntryChanges.InnerValue = new LedgerEntryChange[LedgerEntryChangessize];
            for (int i = 0; i < LedgerEntryChangessize; i++)
            {
                decodedLedgerEntryChanges.InnerValue[i] = LedgerEntryChange.Decode(stream);
            }
            return(decodedLedgerEntryChanges);
        }
コード例 #2
0
        public static LedgerEntryChanges Decode(XdrDataInputStream stream)
        {
            var decodedLedgerEntryChanges = new LedgerEntryChanges();
            var LedgerEntryChangessize    = stream.ReadInt();

            decodedLedgerEntryChanges.InnerValue = new LedgerEntryChange[LedgerEntryChangessize];
            for (var i = 0; i < LedgerEntryChangessize; i++)
            {
                decodedLedgerEntryChanges.InnerValue[i] = LedgerEntryChange.Decode(stream);
            }
            return(decodedLedgerEntryChanges);
        }