Searched refs:make_bytes (Results 1 – 6 of 6) sorted by relevance
103 QrSegment.make_bytes(golden0.encode("UTF-8")),
67 return QrCode.encode_segments([QrSegment.make_bytes(data)], ecl)678 def make_bytes(data: Union[bytes,Sequence[int]]) -> QrSegment: member in QrSegment732 return [QrSegment.make_bytes(text.encode("UTF-8"))]
109 QrSegment::make_bytes(golden0.as_bytes()), in do_segment_demo()
174 let segs: [QrSegment; 1] = [QrSegment::make_bytes(data)]; in encode_binary()975 pub fn make_bytes(data: &[u8]) -> Self { in make_bytes() method1050 QrSegment::make_bytes(text.as_bytes()) in make_segments()
183 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
144 QrSegment::make_bytes(golden0.as_bytes()), in do_segment_demo()