encode static method
Implementation
static void encode(
XdrDataOutputStream stream, XdrSorobanAuthorizedInvocation encoded) {
XdrSorobanAuthorizedFunction.encode(stream, encoded.function);
int subSize = encoded.subInvocations.length;
stream.writeInt(subSize);
for (int i = 0; i < subSize; i++) {
XdrSorobanAuthorizedInvocation.encode(stream, encoded.subInvocations[i]);
}
}