@Override
  public void init(ByteArrayRef bytes, int start, int length) {
    if (oi.isEscaped()) {
      byte escapeChar = oi.getEscapeChar();
      byte[] inputBytes = bytes.getData();
      LazyUtils.copyAndEscapeStringDataToText(inputBytes, start, length, escapeChar, data);
    } else {
      // if the data is not escaped, simply copy the data.
      data.set(bytes.getData(), start, length);
    }
    isNull = false;
  }
LazyObject for storing a value of String.
serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyString.java