Skip to content

UInt32Extensions.ResetBit Method

Definition

Returns a new uint with the bit at the specified index cleared.

public static uint ResetBit(this uint value, int index);

View source

Parameters

Name Type Description
value UInt32
index Int32 The zero-based bit index to reset.

Returns

UInt32

A new uint with the specified bit cleared.