3 // Slices is a utility function to make appending multiple slices less painful and more efficient
4 // Source: https://stackoverflow.com/questions/37884361/concat-multiple-slices-in-golang
5 func Slices(slices ...[]byte) []byte {
7 for _, s := range slices {
10 tmp := make([]byte, totalLen)
12 for _, s := range slices {