docs: public void truncate(final long len) throws SQLException {
  
          final String ldata = this.data;
  
          this.checkValid(ldata);
  
          final long dlen  = ldata.length();
          final long chars = len;
  
          if (chars == dlen) {
  
              // nothing has changed, so there's nothing to be done
          } else if (len < 0 || chars > dlen) {
              throw Util.outOfRangeArgument("len: " + len);
          } else {
  
              // use new String() to ensure we get rid of slack
              data = new String(ldata.substring(0, (int) chars));
          }
      }