kilo/vendor/github.com/mdlayher/netlink/nlenc/doc.go
leonnicolas bde5c3e7d1
vendor wgctrl
Signed-off-by: leonnicolas <leonloechner@gmx.de>
2022-01-30 17:02:44 +01:00

16 lines
379 B
Go

// Package nlenc implements encoding and decoding functions for netlink
// messages and attributes.
package nlenc
import (
"encoding/binary"
"github.com/josharian/native"
)
// NativeEndian returns the native byte order of this system.
func NativeEndian() binary.ByteOrder {
// TODO(mdlayher): consider deprecating and removing this function for v2.
return native.Endian
}