Struct barcoders::sym::code128::Code128
[−]
[src]
pub struct Code128(_);
The Code128 barcode type.
Methods
impl Code128
fn new(data: String) -> Result<Code128>
Creates a new barcode.
Returns Result
fn checksum_value(&self) -> u8
Calculates the checksum index using a modulo-103 algorithm.
fn encode(&self) -> Vec<u8>
Encodes the barcode.
Returns a Vec