Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DistributedFileSystem
LongBitCount
C# Class DistributedFileSystem.LongBitCount
Utility class used to count the number of set bits in a ulong
Show file
Open project: MarcFletcher/NetworkComms.Net
Public Methods
Method
Description
CountBits
(
ulong
inputLong
) :
byte
Returns the number of bits set to 1 in a ulong
Method Details
CountBits()
public
static
method
Returns the number of bits set to 1 in a ulong
public
static
CountBits
(
ulong
inputLong
) :
byte
inputLong
ulong
The ulong to count
return
byte