encode method Null safety
- XdrDataOutputStream stream,
- XdrInvokeHostFunctionOp encoded
Implementation
static void encode(
XdrDataOutputStream stream, XdrInvokeHostFunctionOp encoded) {
int functionsSize = encoded.functions.length;
stream.writeInt(functionsSize);
for (int i = 0; i < functionsSize; i++) {
XdrHostFunction.encode(stream, encoded.functions[i]);
}
}