code: func findStringLen(data []byte) (isValid, hasEscapes bool, length int) {
  	delta := 0
  
  	for i := 0; i < len(data); i++ {
  		switch data[i] {
  		case '\\':
  			i++
  			delta++
  			if i < len(data) && data[i] == 'u' {
  				delta++
  			}
  		case '"':
  			return true, (delta > 0), (i - delta)
  		}
  	}
  
  	return false, false, len(data)
  }
docs: // findStringLen tries to scan into the string literal for ending quote char to determine required size.
  // The size will be exact if no escapes are present and may be inexact if there are escaped chars.