mirror of https://github.com/OrbTools/OrbCommon
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
204 B
Go
17 lines
204 B
Go
3 years ago
|
// +build xdr
|
||
|
|
||
3 years ago
|
package hid
|
||
3 years ago
|
|
||
3 years ago
|
import (
|
||
3 years ago
|
"bytes"
|
||
3 years ago
|
_ "embed"
|
||
3 years ago
|
xdr "github.com/davecgh/go-xdr/xdr2"
|
||
3 years ago
|
)
|
||
3 years ago
|
|
||
3 years ago
|
//go:embed generated.bin
|
||
3 years ago
|
var file []byte
|
||
|
|
||
|
func init() {
|
||
3 years ago
|
xdr.Unmarshal(bytes.NewReader(file), Mappings)
|
||
3 years ago
|
}
|