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); }
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); }