keksvpn/vendor/github.com/mdlayher/netlink/nlenc/doc.go
2022-02-27 04:22:11 +01:00

15 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
}