Lines Matching defs:data

40  * The library provides functions to create a QR Code from text or binary data.
45 * - High level: Take the payload data and call qrcodegen_encodeText() or qrcodegen_encodeBinary().
87 * Describes how a segment's data bits are interpreted.
99 * A segment of character/binary/control data in a QR Code symbol.
100 * The mid-level way to create a segment is to take the payload data
104 * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data.
113 // The length of this segment's unencoded data. Measured in characters for
115 // Always zero or positive. Not the same as the data's bit length.
118 // The data bits of this segment, packed in bitwise big endian.
120 uint8_t *data;
122 // The number of valid data bits used in the buffer. Requires
123 // 0 <= bitLength <= 32767, and bitLength <= (capacity of data array) * 8.
152 * If the data is too long to fit in any version in the given range
173 * - tempBuffer contains no useful data and should be treated as entirely uninitialized.
185 * data capacities per version, ECC level, and text encoding mode.
192 * Encodes the given binary data to a QR Code, returning true if successful.
193 * If the data is too long to fit in any version in the given range
215 * - dataAndTemp contains no useful data and should be treated as entirely uninitialized.
218 * If successful, the resulting QR Code will use byte mode to encode the data.
224 * data capacities per version, ECC level, and text encoding mode.
234 * If the data is too long to fit in any version at the given ECC level,
248 * - The input array segs can contain segments whose data buffers overlap with tempBuffer.
251 * - tempBuffer contains no useful data and should be treated as entirely uninitialized.
252 * - Any segment whose data buffer overlaps with tempBuffer[0 : len]
257 * data capacities per version, ECC level, and text encoding mode.
269 * If the data is too long to fit in any version in the given range
287 * - The input array segs can contain segments whose data buffers overlap with tempBuffer.
290 * - tempBuffer contains no useful data and should be treated as entirely uninitialized.
291 * - Any segment whose data buffer overlaps with tempBuffer[0 : len]
296 * data capacities per version, ECC level, and text encoding mode.
322 * Returns the number of bytes (uint8_t) needed for the data buffer of a segment
330 * An actual ECI segment can have shorter data. For non-ECI modes, the result is exact.
336 * Returns a segment representing the given binary data encoded in
340 struct qrcodegen_Segment qrcodegen_makeBytes(const uint8_t data[], size_t len, uint8_t buf[]);
364 /*---- Functions to extract raw data from QR Codes ----*/