Envoy/Downloads/GoNetDev-master/Protocols/Utils/Concat_slices.go

10 lines
146 B
Go

package Utils
func ConcatAppend(slices [][]byte) []byte {
var tmp []byte
for _, s := range slices {
tmp = append(tmp, s...)
}
return tmp
}