github.com/chrislusf/greenpack@v3.7.1-0.20170911073826-ad5bd10b7c47+incompatible/msgp/appengine.go (about)

     1  // +build appengine
     2  
     3  package msgp
     4  
     5  // let's just assume appengine
     6  // uses 64-bit hardware...
     7  const smallint = false
     8  
     9  func UnsafeString(b []byte) string {
    10  	return string(b)
    11  }
    12  
    13  func UnsafeBytes(s string) []byte {
    14  	return []byte(s)
    15  }