docs: @Override
    public void write(byte[] b, int off, int len) throws IOException
    {
      while(len > 0) {
        int c = Math.min(len, bytesBuffer.remaining());
        bytesBuffer.put(b, off, c);
        processBytesBuffer(false);
        len -= c;
        off += c;
      }
    }