| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"encoding/hex" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["encoding/hex/hex"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"Decode": reflect.ValueOf(hex.Decode), |
| 17 |
"DecodeString": reflect.ValueOf(hex.DecodeString), |
| 18 |
"DecodedLen": reflect.ValueOf(hex.DecodedLen), |
| 19 |
"Dump": reflect.ValueOf(hex.Dump), |
| 20 |
"Dumper": reflect.ValueOf(hex.Dumper), |
| 21 |
"Encode": reflect.ValueOf(hex.Encode), |
| 22 |
"EncodeToString": reflect.ValueOf(hex.EncodeToString), |
| 23 |
"EncodedLen": reflect.ValueOf(hex.EncodedLen), |
| 24 |
"ErrLength": reflect.ValueOf(&hex.ErrLength).Elem(), |
| 25 |
"NewDecoder": reflect.ValueOf(hex.NewDecoder), |
| 26 |
"NewEncoder": reflect.ValueOf(hex.NewEncoder), |
| 27 |
|
| 28 |
|
| 29 |
"InvalidByteError": reflect.ValueOf((*hex.InvalidByteError)(nil)), |
| 30 |
} |
| 31 |
} |