Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zpao/qrcode.react
/ functions
Functions
58 in github.com/zpao/qrcode.react
⨍
Functions
58
◇
Types & classes
8
↓ 14 callers
Function
appendBits
(val: int, len: int, bb: Array<bit>)
src/third-party/qrcodegen/index.ts:695
↓ 14 callers
Method
setFunctionModule
(x: int, y: int, isDark: boolean)
src/third-party/qrcodegen/index.ts:340
↓ 13 callers
Function
assert
(cond: boolean)
src/third-party/qrcodegen/index.ts:710
↓ 9 callers
Function
getBit
(x: int, i: int)
src/third-party/qrcodegen/index.ts:704
↓ 4 callers
Method
finderPenaltyAddHistory
(currentRunLength: int, runHistory: Array<int>)
src/third-party/qrcodegen/index.ts:651
↓ 4 callers
Method
getNumDataCodewords
(ver: int, ecl: QrCode.Ecc)
src/third-party/qrcodegen/index.ts:562
↓ 3 callers
Method
applyMask
(mask: int)
src/third-party/qrcodegen/index.ts:422
↓ 3 callers
Method
drawFinderPattern
(x: int, y: int)
src/third-party/qrcodegen/index.ts:315
↓ 3 callers
Method
drawFormatBits
(mask: int)
src/third-party/qrcodegen/index.ts:262
↓ 3 callers
Method
encodeSegments
(segs: Readonly<Array<QrSegment>>, ecl: QrCode.Ecc, minVersion: int = 1, maxVersion: int = 40, mask: i
src/third-party/qrcodegen/index.ts:71
↓ 3 callers
Method
finderPenaltyCountPatterns
(runHistory: Readonly<Array<int>>)
src/third-party/qrcodegen/index.ts:629
↓ 3 callers
Method
getNumRawDataModules
(ver: int)
src/third-party/qrcodegen/index.ts:544
↓ 3 callers
Method
reedSolomonMultiply
(x: byte, y: byte)
src/third-party/qrcodegen/index.ts:613
↓ 2 callers
Function
downloadStringAsFile
(data: string, filename: string)
examples/download.tsx:4
↓ 2 callers
Function
excavateModules
(modules: Modules, excavation: Excavation)
src/index.tsx:203
↓ 2 callers
Method
finderPenaltyTerminateAndCount
(currentRunColor: boolean, currentRunLength: int, runHistory: Array<int>)
src/third-party/qrcodegen/index.ts:639
↓ 2 callers
Function
generatePath
(modules: Modules, margin: number = 0)
src/index.tsx:157
↓ 2 callers
Method
isAlphanumeric
(text: string)
src/third-party/qrcodegen/index.ts:823
↓ 2 callers
Method
isNumeric
(text: string)
src/third-party/qrcodegen/index.ts:815
↓ 2 callers
Method
makeBytes
(data: Readonly<Array<byte>>)
src/third-party/qrcodegen/index.ts:737
↓ 2 callers
Function
makeExampleCode
(componentName: string)
examples/full.tsx:31
↓ 2 callers
Method
makeSegments
(text: string)
src/third-party/qrcodegen/index.ts:780
↓ 2 callers
Method
numCharCountBits
(ver: int)
src/third-party/qrcodegen/index.ts:974
↓ 2 callers
Function
useQRCode
({ value, level, minVersion, includeMargin, marginSize, imageSettings, size, boostLevel, }: {
src/index.tsx:270
↓ 1 callers
Method
addEccAndInterleave
(data: Readonly<Array<byte>>)
src/third-party/qrcodegen/index.ts:350
↓ 1 callers
Method
drawAlignmentPattern
(x: int, y: int)
src/third-party/qrcodegen/index.ts:330
↓ 1 callers
Method
drawCodewords
(data: Readonly<Array<byte>>)
src/third-party/qrcodegen/index.ts:391
↓ 1 callers
Method
drawFunctionPatterns
()
src/third-party/qrcodegen/index.ts:231
↓ 1 callers
Method
drawVersion
()
src/third-party/qrcodegen/index.ts:291
↓ 1 callers
Method
getAlignmentPatternPositions
()
src/third-party/qrcodegen/index.ts:526
↓ 1 callers
Method
getData
()
src/third-party/qrcodegen/index.ts:854
↓ 1 callers
Function
getImageSettings
( cells: Modules, size: number, margin: number, imageSettings?: ImageSettings )
src/index.tsx:217
↓ 1 callers
Function
getInitialDemo
()
examples/demo.tsx:40
↓ 1 callers
Function
getMarginSize
(includeMargin: boolean, marginSize?: number)
src/index.tsx:263
↓ 1 callers
Method
getModules
()
src/third-party/qrcodegen/index.ts:223
↓ 1 callers
Method
getPenaltyScore
()
src/third-party/qrcodegen/index.ts:448
↓ 1 callers
Method
getTotalBits
(segs: Readonly<Array<QrSegment>>, version: int)
src/third-party/qrcodegen/index.ts:861
↓ 1 callers
Method
makeAlphanumeric
(text: string)
src/third-party/qrcodegen/index.ts:762
↓ 1 callers
Method
makeNumeric
(digits: string)
src/third-party/qrcodegen/index.ts:746
↓ 1 callers
Method
reedSolomonComputeDivisor
(degree: int)
src/third-party/qrcodegen/index.ts:571
↓ 1 callers
Method
reedSolomonComputeRemainder
(data: Readonly<Array<byte>>, divisor: Readonly<Array<byte>>)
src/third-party/qrcodegen/index.ts:599
↓ 1 callers
Method
toUtf8ByteArray
(str: string)
src/third-party/qrcodegen/index.ts:874
Function
Demo
()
examples/demo.tsx:46
Function
DownloadDemo
()
examples/download.tsx:11
Function
FullDemo
()
examples/full.tsx:7
Function
ImageDemo
()
examples/image.tsx:4
Method
constructor
( // The version number of this QR Code, which is between 1 and 40 (inclusive). // This determines the
src/third-party/qrcodegen/index.ts:157
Method
constructor
( // The mode indicator of this segment. public readonly mode: QrSegment.Mode, // The length of t
src/third-party/qrcodegen/index.ts:833
Method
constructor
( // In the range 0 to 3 (unsigned 2-bit integer). public readonly ordinal: int, // (Package-private)
src/third-party/qrcodegen/index.ts:929
Method
constructor
( // The mode indicator bits, which is a uint4 value (range 0 to 15). public readonly modeBits: int,
src/third-party/qrcodegen/index.ts:963
Method
encodeBinary
(data: Readonly<Array<byte>>, ecl: QrCode.Ecc)
src/third-party/qrcodegen/index.ts:54
Method
encodeText
(text: string, ecl: QrCode.Ecc)
src/third-party/qrcodegen/index.ts:44
Function
esbuildOptions
(options)
tsup.config.ts:4
Method
getModule
(x: int, y: int)
src/third-party/qrcodegen/index.ts:218
Function
handlePopState
(e: PopStateEvent)
examples/demo.tsx:56
Method
makeEci
(assignVal: int)
src/third-party/qrcodegen/index.ts:795
Function
onCanvasButtonClick
()
examples/download.tsx:15
Function
onSVGButtonClick
()
examples/download.tsx:26