Skip to content

ByteExtensions.HighNibble Method ​

Definition ​

Gets the high nibble (bits 4-7) of a byte, shifted down to the least significant position.

c#
public static Byte HighNibble(this Byte value);

View source

Parameters ​

NameTypeDescription
valueByteThe byte value.

Returns ​

Byte

The high nibble.