mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-11 15:41:19 -05:00
15 lines
238 B
Go
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)
|
|
}
|