本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
375B

  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. }
上海开阖软件有限公司 沪ICP备12045867号-1