func encodeHex(b []byte) string {
	enc := make([]byte, len(b)*2+2)
	copy(enc, "0x")
	hex.Encode(enc[2:], b)
	return string(enc)
}
// Encode encodes b as a hex string with 0x prefix.
Encode encodes b as a hex string with 0x prefix.
// Encode encodes b as a hex string with 0x prefix .
func encodeHex(b []byte) string {
	enc := make([]byte, len(b)*2+2)
	copy(enc, "0x")
	hex.Encode(enc[2:], b)
	return string(enc)
}
func encodeHex ( b [ ] byte ) string { enc := make ( [ ] byte , len ( b ) * 2 + 2 ) copy ( enc , " " ) hex . Encode ( enc [ 2 : ] , b ) return string ( enc ) }
Encode encodes b as a hex string with 0x prefix.
Encode encodes b as a hex string with 0x prefix .