MCPcopy Create free account
hub / github.com/breck7/scroll / encodeText

Method encodeText

external/.qrcodegen.js:5–8  ·  view source on GitHub ↗
(r, n)

Source from the content-addressed store, hash-verified

3!(function (t) {
4 class e {
5 static encodeText(r, n) {
6 const o = t.QrSegment.makeSegments(r)
7 return e.encodeSegments(o, n)
8 }
9 static encodeBinary(r, n) {
10 const o = t.QrSegment.makeBytes(r)
11 return e.encodeSegments([o], n)

Callers

nothing calls this directly

Calls 2

makeSegmentsMethod · 0.80
encodeSegmentsMethod · 0.80

Tested by

no test coverage detected