encode static method
- XdrDataOutputStream stream,
- XdrSorobanResources encoded
Implementation
static void encode(XdrDataOutputStream stream, XdrSorobanResources encoded) {
XdrLedgerFootprint.encode(stream, encoded.footprint);
XdrUint32.encode(stream, encoded.instructions);
XdrUint32.encode(stream, encoded.readBytes);
XdrUint32.encode(stream, encoded.writeBytes);
}