\BaconQrCode\CommonBitUtils

General bit utilities.

All utility methods are based on 32-bit integers and also work on 64-bit systems.

Summary

Methods
Properties
Constants
unsignedRightShift()
numberOfTrailingZeros()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
No private properties found
N/A

Methods

unsignedRightShift()

unsignedRightShift(int  $a, int  $b) : int

Performs an unsigned right shift.

This is the same as the unsigned right shift operator ">>>" in other languages.

Parameters

int $a
int $b

Returns

int —

numberOfTrailingZeros()

numberOfTrailingZeros(int  $i) : int

Gets the number of trailing zeros.

Parameters

int $i

Returns

int —

__construct()

__construct() : mixed

Returns

mixed —