$40 GRAYBYTE WORDPRESS FILE MANAGER $17

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/golang/src/internal/routebsd/

HOME
Current File : /usr/lib/golang/src/internal/routebsd//binary.go
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build darwin || dragonfly || freebsd || netbsd || openbsd

package routebsd

import "internal/byteorder"

// This file contains duplicates of encoding/binary package.
//
// This package is supposed to be used by the net package of standard
// library. Therefore the package set used in the package must be the
// same as net package.

var (
	littleEndian binaryLittleEndian
	bigEndian    binaryBigEndian
)

type binaryByteOrder interface {
	Uint16([]byte) uint16
	Uint32([]byte) uint32
	Uint64([]byte) uint64
}

type binaryLittleEndian struct{}

func (binaryLittleEndian) Uint16(b []byte) uint16 {
	return byteorder.LEUint16(b)
}

func (binaryLittleEndian) Uint32(b []byte) uint32 {
	return byteorder.LEUint32(b)
}

func (binaryLittleEndian) Uint64(b []byte) uint64 {
	return byteorder.LEUint64(b)
}

type binaryBigEndian struct{}

func (binaryBigEndian) Uint16(b []byte) uint16 {
	return byteorder.BEUint16(b)
}

func (binaryBigEndian) Uint32(b []byte) uint32 {
	return byteorder.BEUint32(b)
}

func (binaryBigEndian) Uint64(b []byte) uint64 {
	return byteorder.BEUint64(b)
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.30 PM
root / root
0755
address.go
7.222 KB
4 Dec 2025 6.06 PM
root / root
0644
binary.go
1.213 KB
4 Dec 2025 6.06 PM
root / root
0644
interface.go
1.393 KB
4 Dec 2025 6.06 PM
root / root
0644
interface_classic.go
1.9 KB
4 Dec 2025 6.06 PM
root / root
0644
interface_freebsd.go
1.516 KB
4 Dec 2025 6.06 PM
root / root
0644
interface_multicast.go
0.781 KB
4 Dec 2025 6.06 PM
root / root
0644
interface_openbsd.go
1.593 KB
4 Dec 2025 6.06 PM
root / root
0644
message.go
1.093 KB
4 Dec 2025 6.06 PM
root / root
0644
route.go
1.522 KB
4 Dec 2025 6.06 PM
root / root
0644
sys.go
0.912 KB
4 Dec 2025 6.06 PM
root / root
0644
sys_darwin.go
1.399 KB
4 Dec 2025 6.06 PM
root / root
0644
sys_dragonfly.go
1.257 KB
4 Dec 2025 6.06 PM
root / root
0644
sys_freebsd.go
1.71 KB
4 Dec 2025 6.06 PM
root / root
0644
sys_netbsd.go
0.82 KB
4 Dec 2025 6.06 PM
root / root
0644
sys_openbsd.go
0.704 KB
4 Dec 2025 6.06 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF