Files
moxa/stdlib/go1_22_encoding_hex.go
Marc Vertes 0a5b16cad6 feat: support go1.22
* feat: support go1.22

* Temporary fix for consistency tests due to language change in for loops

* review: clean old files

---------

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-05 17:56:04 +01:00

34 lines
1.0 KiB
Go

// Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"encoding/hex"
"reflect"
)
func init() {
Symbols["encoding/hex/hex"] = map[string]reflect.Value{
// function, constant and variable definitions
"AppendDecode": reflect.ValueOf(hex.AppendDecode),
"AppendEncode": reflect.ValueOf(hex.AppendEncode),
"Decode": reflect.ValueOf(hex.Decode),
"DecodeString": reflect.ValueOf(hex.DecodeString),
"DecodedLen": reflect.ValueOf(hex.DecodedLen),
"Dump": reflect.ValueOf(hex.Dump),
"Dumper": reflect.ValueOf(hex.Dumper),
"Encode": reflect.ValueOf(hex.Encode),
"EncodeToString": reflect.ValueOf(hex.EncodeToString),
"EncodedLen": reflect.ValueOf(hex.EncodedLen),
"ErrLength": reflect.ValueOf(&hex.ErrLength).Elem(),
"NewDecoder": reflect.ValueOf(hex.NewDecoder),
"NewEncoder": reflect.ValueOf(hex.NewEncoder),
// type definitions
"InvalidByteError": reflect.ValueOf((*hex.InvalidByteError)(nil)),
}
}