Table of Contents

Method GetByteByBit4R

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

GetByteByBit4R(byte, byte)

Get the byte made by the 4-bit value - reversed (获取由4位值构成的字节 - 逆序). Generally used to make shuffle control codes, like _MM_SHUFFLE(byte, byte, byte, byte) (一般用于制作 shuffle 控制码, 类似 _MM_SHUFFLE(byte, byte, byte, byte)).

public static byte GetByteByBit4R(byte n0, byte n1)

Parameters

n0 byte

The 0th 4-bit value (第0个4位值).

n1 byte

The 1st 4-bit value (第1个4位值).

Returns

byte

Return the byte of made (返回所构成的字节).

See Also