public static void Encode(IByteWriter stream, LedgerHeaderHistoryEntryExt encodedLedgerHeaderHistoryEntryExt) { XdrEncoding.EncodeInt32(encodedLedgerHeaderHistoryEntryExt.Discriminant, stream); switch (encodedLedgerHeaderHistoryEntryExt.Discriminant) { case 0: break; } }
public static void Encode(XdrDataOutputStream stream, LedgerHeaderHistoryEntryExt encodedLedgerHeaderHistoryEntryExt) { stream.WriteInt(encodedLedgerHeaderHistoryEntryExt.Discriminant); switch (encodedLedgerHeaderHistoryEntryExt.Discriminant) { case 0: break; } }
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); }
public static LedgerHeaderHistoryEntryExt Decode(IByteReader stream) { LedgerHeaderHistoryEntryExt decodedLedgerHeaderHistoryEntryExt = new LedgerHeaderHistoryEntryExt(); decodedLedgerHeaderHistoryEntryExt.Discriminant = XdrEncoding.DecodeInt32(stream); switch (decodedLedgerHeaderHistoryEntryExt.Discriminant) { case 0: break; } return decodedLedgerHeaderHistoryEntryExt; }
public static LedgerHeaderHistoryEntryExt Decode(IByteReader stream) { LedgerHeaderHistoryEntryExt decodedLedgerHeaderHistoryEntryExt = new LedgerHeaderHistoryEntryExt(); decodedLedgerHeaderHistoryEntryExt.Discriminant = XdrEncoding.DecodeInt32(stream); switch (decodedLedgerHeaderHistoryEntryExt.Discriminant) { case 0: break; } return(decodedLedgerHeaderHistoryEntryExt); }
public static LedgerHeaderHistoryEntryExt Decode(XdrDataInputStream stream) { var decodedLedgerHeaderHistoryEntryExt = new LedgerHeaderHistoryEntryExt(); var discriminant = stream.ReadInt(); decodedLedgerHeaderHistoryEntryExt.Discriminant = discriminant; switch (decodedLedgerHeaderHistoryEntryExt.Discriminant) { case 0: break; } return(decodedLedgerHeaderHistoryEntryExt); }
public static void Encode(XdrDataOutputStream stream, LedgerHeaderHistoryEntry encodedLedgerHeaderHistoryEntry) { Hash.Encode(stream, encodedLedgerHeaderHistoryEntry.Hash); LedgerHeader.Encode(stream, encodedLedgerHeaderHistoryEntry.Header); LedgerHeaderHistoryEntryExt.Encode(stream, encodedLedgerHeaderHistoryEntry.Ext); }
public static void Encode(IByteWriter stream, LedgerHeaderHistoryEntry encodedLedgerHeaderHistoryEntry) { Hash.Encode(stream, encodedLedgerHeaderHistoryEntry.Hash); LedgerHeader.Encode(stream, encodedLedgerHeaderHistoryEntry.Header); LedgerHeaderHistoryEntryExt.Encode(stream, encodedLedgerHeaderHistoryEntry.Ext); }