forgejo-federation/vendor/github.com/tinylib/msgp/msgp/purego.go
2018-05-19 20:49:46 +08:00

15 lines
238 B
Go

// +build purego appengine
package msgp
// let's just assume appengine
// uses 64-bit hardware...
const smallint = false
func UnsafeString(b []byte) string {
return string(b)
}
func UnsafeBytes(s string) []byte {
return []byte(s)
}