10 lines
142 B
Go
10 lines
142 B
Go
|
package helper
|
||
|
|
||
|
func Ender() string {
|
||
|
return string(rune(0))
|
||
|
}
|
||
|
|
||
|
func ByteWithEnd(str string) []byte {
|
||
|
return append([]byte(str), byte(0))
|
||
|
}
|