code: private String takeString() {
          _string.setLength(_length);
          String s = _string.toString();
          _string.setLength(0);
          _length = -1;
          return s;
      }
docs: /* -------------------------------------------------------------------------------