Bitmask.Get

Method in Bitmask

Declaration

public int Get(int n)

Description

Returns the nth bit of the bitmask.

Parameters

nThe nth bit to get.

Returns

intThe nth bit of the bitmask.