Maria GDK 4.7.0.84
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
TPG.Utils.BitManipulation Class Reference

Static Public Member Functions

static int LSBitPosition (int number)
 
static int PopLSBitPosition (ref int num)
 
static void SetFieldMaskBit (int bitPos, List< int > fieldMask)
 
static void SetFieldMaskBit (int bitPos, int[]fieldMask)
 
static void SetFieldMaskBit (int bitPos, Google.Protobuf.Collections.RepeatedField< int > fieldMask)
 
static void ClearFieldMaskBit (int bitPos, List< int > fieldMask)
 
static void ClearFieldMaskBit (int bitPos, int[] fieldMask)
 
static void ClearFieldMaskBit (int bitPos, Google.Protobuf.Collections.RepeatedField< int > fieldMask)
 
static bool GetFieldMaskBit (int bitPos, List< int > fieldMask)
 
static bool GetFieldMaskBit (int bitPos, int[]fieldMask)
 
static bool GetFieldMaskBit (int bitPos, Google.Protobuf.Collections.RepeatedField< int > fieldMask)
 
static bool GetFieldMaskBitUnchecked (int bitPos, int[] fieldMask)
 
static int CountBits (int x, int maxPos=31)
 
static int CountBits (List< int > x, int maxPos=Int32.MaxValue)
 
static int CountBits (int[]x, int maxPos=Int32.MaxValue)
 
static int CountBits (Google.Protobuf.Collections.RepeatedField< int > x, int maxPos=Int32.MaxValue)
 

The documentation for this class was generated from the following file: