Skip to main content

Module barcode

Module barcode 

Source
Expand description

§1D Barcode Generation

Converts data strings into barcode bar patterns for vector rendering in PDF. Uses the barcoders crate for encoding. Each barcode format produces a Vec<u8> of 0/1 values representing spaces and bars.

Structs§

BarcodeData
A 1D barcode represented as a sequence of bar/space values.

Enums§

BarcodeFormat
Supported barcode formats.

Functions§

generate_barcode
Generate a barcode from the given data string and format.