decode method
Implementation
static XdrSCPHistoryEntryV0 decode(XdrDataInputStream stream) {
XdrSCPHistoryEntryV0 decodedSCPHistoryEntryV0 = XdrSCPHistoryEntryV0();
int quorumSetsSize = stream.readInt();
decodedSCPHistoryEntryV0.quorumSets = List<XdrSCPQuorumSet>(quorumSetsSize);
for (int i = 0; i < quorumSetsSize; i++) {
decodedSCPHistoryEntryV0.quorumSets[i] = XdrSCPQuorumSet.decode(stream);
}
decodedSCPHistoryEntryV0.ledgerMessages =
XdrLedgerSCPMessages.decode(stream);
return decodedSCPHistoryEntryV0;
}