public static LedgerHeaderHistoryEntry Decode(XdrDataInputStream stream)
        {
            var decodedLedgerHeaderHistoryEntry = new LedgerHeaderHistoryEntry();

            decodedLedgerHeaderHistoryEntry.Hash   = Hash.Decode(stream);
            decodedLedgerHeaderHistoryEntry.Header = LedgerHeader.Decode(stream);
            decodedLedgerHeaderHistoryEntry.Ext    = LedgerHeaderHistoryEntryExt.Decode(stream);
            return(decodedLedgerHeaderHistoryEntry);
        }
示例#2
0
        public static LedgerHeaderHistoryEntry Decode(IByteReader stream)
        {
            LedgerHeaderHistoryEntry decodedLedgerHeaderHistoryEntry = new LedgerHeaderHistoryEntry();

            decodedLedgerHeaderHistoryEntry.Hash   = Hash.Decode(stream);
            decodedLedgerHeaderHistoryEntry.Header = LedgerHeader.Decode(stream);
            decodedLedgerHeaderHistoryEntry.Ext    = LedgerHeaderHistoryEntryExt.Decode(stream);
            return(decodedLedgerHeaderHistoryEntry);
        }