mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 13:19:37 -05: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)
|
|
}
|