// beU16 returns a slice containing 2 bytes from the given uint16 u.
//
// The returned bytes have big-endian ordering; that is, the first element at
// index 0 is the most-significant byte in u and index 1 is the least-
// significant byte.
//go:inline
beU16 returns a slice containing 2 bytes from the given uint16 u.

The returned bytes have big-endian ordering; that is, the first element at
index 0 is the most-significant byte in u and index 1 is the least
significant byte.
go:inline
// beU16 returns a slice containing 2 bytes from the given uint16 u . // // The returned bytes have big - endian ordering ; that is the first element at // index 0 is the most - significant byte in u and index 1 is the least - // significant byte . // go : inline
func beU16(u uint16) []uint8 {
	if u == 0 {
		return []uint8{0, 0}
	}
	return []uint8{
		uint8(u >> 8), uint8(u),
	}
}
func beU16 ( u uint16 ) [ ] uint8 { if u == 0 { return [ ] uint8 { 0 , 0 } } return [ ] uint8 { uint8 ( u >> 8 ) , uint8 ( u ) , } }
beU16 returns a slice containing 2 bytes from the given uint16 u.
beU16 returns a slice containing 2 bytes from the given uint16 u .
// skip all processing for the common case (u = 0)