code: public void resetRow(int rowsize) {
  
          if (out != null) {
              out.reset(rowsize);
  
              buf = out.getBuffer();
          }
  
          super.reset();
      }
docs: Used to reset the row, ready for Result data to be written into the
  byte[] buffer by an external routine.