docs: public void send(byte[] buf, int off, int siz) throws IOException {
      int bufamt = buf.length - off;
      pgOutput.write(buf, off, bufamt < siz ? bufamt : siz);
      for (int i = bufamt; i < siz; ++i) {
        pgOutput.write(0);
      }
    }