mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 02:09:18 +08:00
16 lines
238 B
Go
16 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)
|
|
}
|