OpenGFW/analyzer/utils/string.go
2024-01-19 16:45:01 -08:00

10 lines
160 B
Go

package utils
func ByteSlicesToStrings(bss [][]byte) []string {
ss := make([]string, len(bss))
for i, bs := range bss {
ss[i] = string(bs)
}
return ss
}