decode static method

XdrSorobanResources decode(
  1. XdrDataInputStream stream
)

Implementation

static XdrSorobanResources decode(XdrDataInputStream stream) {
  XdrLedgerFootprint footprint = XdrLedgerFootprint.decode(stream);
  XdrUint32 instructions = XdrUint32.decode(stream);
  XdrUint32 readBytes = XdrUint32.decode(stream);
  XdrUint32 writeBytes = XdrUint32.decode(stream);
  return XdrSorobanResources(footprint, instructions, readBytes, writeBytes);
}