pas/src/helper/stringfuckery.go

10 lines
150 B
Go
Raw Normal View History

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