Skip to content

ByteExtensions.LeftMostBit Method

Definition

Gets the left-most bit (bit 7) of a byte.

public static bool LeftMostBit(this Byte value);

View source

Parameters

Name Type Description
value Byte The byte value.

Returns

Boolean

true if the left-most bit is set; false otherwise.