pas/src/helper/stringfuckery.go

10 lines
142 B
Go
Raw Normal View History

2024-06-08 20:28:43 +02:00
package helper
func Ender() string {
return string(rune(0))
}
func ByteWithEnd(str string) []byte {
return append([]byte(str), byte(0))
}