github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/utils/utils.go (about)

     1  package utils
     2  
     3  // ZeroByteSlice 0组成的32byte切片
     4  func ZeroByteSlice() []byte {
     5  	return []byte{
     6  		0, 0, 0, 0,
     7  		0, 0, 0, 0,
     8  		0, 0, 0, 0,
     9  		0, 0, 0, 0,
    10  		0, 0, 0, 0,
    11  		0, 0, 0, 0,
    12  		0, 0, 0, 0,
    13  		0, 0, 0, 0,
    14  	}
    15  }