mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 18:22:14 +01:00
15 lines
238 B
Go
Vendored
15 lines
238 B
Go
Vendored
// +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)
|
|
}
|