docs: public void writeInvocation(StoredProcedureInvocation invocation) throws IOException {
          int len = invocation.getSerializedSize();
          growIfNeeded(len);
          invocation.flattenToBuffer(buffer.b());
      }