HexToBytes convert hex string to []byte
(value string)
| 41 | |
| 42 | // HexToBytes convert hex string to []byte |
| 43 | func HexToBytes(value string) ([]byte, error) { |
| 44 | return hex.DecodeString(value) |
| 45 | } |
| 46 | |
| 47 | func ToArrayReverse(arr []byte) []byte { |
| 48 | l := len(arr) |
no outgoing calls