Home
last modified time | relevance | path

Searched refs:make_bytes (Results 1 – 6 of 6) sorted by relevance

/third_party/qrcodegen/python/
Dqrcodegen-demo.py103 QrSegment.make_bytes(golden0.encode("UTF-8")),
Dqrcodegen.py67 return QrCode.encode_segments([QrSegment.make_bytes(data)], ecl)
678 def make_bytes(data: Union[bytes,Sequence[int]]) -> QrSegment: member in QrSegment
732 return [QrSegment.make_bytes(text.encode("UTF-8"))]
/third_party/qrcodegen/rust/examples/
Dqrcodegen-demo.rs109 QrSegment::make_bytes(golden0.as_bytes()), in do_segment_demo()
/third_party/qrcodegen/rust/src/
Dlib.rs174 let segs: [QrSegment; 1] = [QrSegment::make_bytes(data)]; in encode_binary()
975 pub fn make_bytes(data: &[u8]) -> Self { in make_bytes() method
1050 QrSegment::make_bytes(text.as_bytes()) in make_segments()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs183 QrSegment::make_bytes(text.as_bytes()) in encode_text()
230 let seg: QrSegment = QrSegment::make_bytes(&dataandtempbuffer[ .. datalen]); in encode_binary()
1104 pub fn make_bytes(data: &'a [u8]) -> Self { in make_bytes() method
/third_party/qrcodegen/rust-no-heap/examples/
Dqrcodegen-demo.rs144 QrSegment::make_bytes(golden0.as_bytes()), in do_segment_demo()