http urls monitor.

bytestostr_nounsafe.go 375B

1234567891011121314
  1. // This file is included to the build if any of the buildtags below
  2. // are defined. Refer to README notes for more details.
  3. //+build easyjson_nounsafe appengine
  4. package jlexer
  5. // bytesToStr creates a string normally from []byte
  6. //
  7. // Note that this method is roughly 1.5x slower than using the 'unsafe' method.
  8. func bytesToStr(data []byte) string {
  9. return string(data)
  10. }