summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/vmihailenco/msgpack/v5/safe.go
blob: 8352c9dcefcda27b577bf4275ea7b9c6bdb62e0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build appengine

package msgpack

// bytesToString converts byte slice to string.
func bytesToString(b []byte) string {
	return string(b)
}

// stringToBytes converts string to byte slice.
func stringToBytes(s string) []byte {
	return []byte(s)
}