docs: public static AdHocPlannedStatement[] planArrayFromBuffer(ByteBuffer buf) throws IOException {
          short csCount = buf.getShort();
          AdHocPlannedStatement[] statements = new AdHocPlannedStatement[csCount];
          for (int i = 0; i < csCount; ++i) {
              AdHocPlannedStatement cs = AdHocPlannedStatement.fromBuffer(buf);
              statements[i] = cs;
          }
          return statements;
      }