mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-17 19:03:16 +01: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)
|
||
|
}
|