File: readme.md

package info (click to toggle)
golang-github-josharian-native 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, experimental, forky, sid, trixie
  • size: 88 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
Package native provides easy access to native byte order.

`go get github.com/josharian/native`

Usage: Use `native.Endian` where you need the native binary.ByteOrder.

Please think twice before using this package.
It can break program portability.
Native byte order is usually not the right answer.