This commit is contained in:
amy 2024-07-14 06:19:21 +03:30
parent aff3757618
commit cc8322f221
9 changed files with 136 additions and 38 deletions

View file

@ -4,6 +4,6 @@ func Ender() string {
return string(rune(0))
}
func ByteWithEnd(str string) []byte {
func StringToByteWithEnd(str string) []byte {
return append([]byte(str), byte(0))
}