-
Class Summary
| Class |
Description |
| BlockPair |
Represents a pair of data and error correction blocks for QR code encoding.
|
| ByteMatrix |
JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned
-1, 0, and 1, I'm going to use less memory and go with bytes.
|
| Encoder |
Encoder for QR codes.
|
| MaskUtil |
Utility class for QR code mask operations.
|
| MatrixUtil |
Utility class for QR code matrix operations.
|
| QRCode |
QR Code representation for encoding.
|
Package com.google.zxing.qrcode.encoder Description
QR code encoding implementation for ZXing.
This package contains the core encoding logic for generating QR codes, including data encoding, error correction generation, and matrix construction.
Key Components:
- Encoder - Main QR code encoder implementation
- BlockPair - Data and error correction block pairing
- ByteMatrix - Byte-level matrix representation
- MaskUtil - Mask pattern application utilities
- MatrixUtil - Matrix construction and pattern utilities
- QRCode - QR code data structure
- MinimalEncoder - Optimized encoding for simple cases
- EncoderConfig - Configuration for encoding parameters
Main Functionality:
- QR code data encoding and compression
- Error correction code generation
- Mask pattern selection and application
- Matrix construction with timing patterns
- Version and format information encoding
- Optimization for different data types
Usage Notes:
- Core encoding engine for QR code generation
- Supports all QR code versions and error correction levels
- Optimized for performance and memory usage
- Used by QRCodeWriter for high-level operations