File: doc.go

package info (click to toggle)
golang-github-mdlayher-netlink 1.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: makefile: 5
file content (13 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
// Package nlenc implements encoding and decoding functions for netlink
// messages and attributes.
package nlenc

import (
	"encoding/binary"
)

// NativeEndian returns the native byte order of this system.
func NativeEndian() binary.ByteOrder {
	// TODO(mdlayher): consider deprecating and removing this function for v2.
	return binary.NativeEndian
}