decode static method
- 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);
}