decode method Null safety

XdrConfigSettingContractComputeV0 decode(
  1. XdrDataInputStream stream
)

Implementation

static XdrConfigSettingContractComputeV0 decode(XdrDataInputStream stream) {
  XdrInt64 ledgerMaxInstructions = XdrInt64.decode(stream);
  XdrInt64 txMaxInstructions = XdrInt64.decode(stream);
  XdrInt64 feeRatePerInstructionsIncrement = XdrInt64.decode(stream);
  XdrUint32 txMemoryLimit = XdrUint32.decode(stream);
  return XdrConfigSettingContractComputeV0(ledgerMaxInstructions,
      txMaxInstructions, feeRatePerInstructionsIncrement, txMemoryLimit);
}