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

10 lines
146 B
Go
Raw Normal View History

2023-10-27 16:45:33 +00:00
package Utils
func ConcatAppend(slices [][]byte) []byte {
var tmp []byte
for _, s := range slices {
tmp = append(tmp, s...)
}
return tmp
}