1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 21:03:49 +00:00
fiber/internal/msgp/purego.go
2020-10-26 01:12:04 +01:00

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)
}