Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zxing-js/library
/ set
Method
set
src/core/common/BitArray.ts:95–97 ·
view source on GitHub ↗
* Sets bit i. * * @param i bit to set
(i: number /*int*/)
Source
from the content-addressed store, hash-verified
93
* @param i bit to set
94
*/
95
public set(i: number /*int*/): void {
96
this.bits[Math.floor(i / 32)] |= 1 << (i & 0x1F);
97
}
98
99
/**
100
* Flips bit i.
Callers
15
buildBitArray
Method · 0.95
buildBitArrayFromString
Method · 0.95
buildBitArrayFromString
Method · 0.95
getRow
Method · 0.45
putMetadata
Method · 0.45
readModule
Method · 0.45
doDecode
Function · 0.45
FieldParser
Class · 0.45
getBlackRow
Method · 0.45
thresholdBlock
Method · 0.45
constructor
Method · 0.45
constructor
Method · 0.45
Calls
no outgoing calls
Tested by
4
buildBitArrayFromString
Method · 0.76
compareToGoldenFile
Function · 0.36
testWriter
Function · 0.36
erase
Function · 0.36