Table of Contents

Method YBitToByte

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YBitToByte(uint)

Converts binary bits to each element of the Byte vector (将各个二进制位转换为 Byte 向量的每个元素). Bit 0 meaning is 0, bit 1 meaning is 1 for all bits (MaxValue). Mnemonic: rt[i] := to_mask(0 != ((mask>>i)&1)).

Vector256<byte> YBitToByte(uint value)

Parameters

value uint

Source value (源值).

Returns

Vector256<byte>

Returns the converted vector (返回转换后的向量).

See Also