예제 #1
0
 public static void Encode(XdrDataOutputStream stream, SCPStatement encodedSCPStatement)
 {
     NodeID.Encode(stream, encodedSCPStatement.NodeID);
     Uint64.Encode(stream, encodedSCPStatement.SlotIndex);
     SCPStatementPledges.Encode(stream, encodedSCPStatement.Pledges);
 }
예제 #2
0
 public static void Encode(XdrDataOutputStream stream, LedgerCloseValueSignature encodedLedgerCloseValueSignature)
 {
     NodeID.Encode(stream, encodedLedgerCloseValueSignature.NodeID);
     Signature.Encode(stream, encodedLedgerCloseValueSignature.Signature);
 }
예제 #3
0
 public static void Encode(XdrDataOutputStream stream, NodeID encodedNodeID)
 {
     PublicKey.Encode(stream, encodedNodeID.InnerValue);
 }