barlix v0.4.0 Barlix.Code128 View Source

This module implements the Code 128 symbology.

Link to this section Summary

Functions

Encodes the given value using code 128 symbology.

Accepts the same arguments as encode/1. Returns Barlix.code/0 or raises Barlix.Error in case of invalid value.

Link to this section Functions

Link to this function

encode(value) View Source
encode(String.t() | charlist()) :: {:error, binary()} | {:ok, Barlix.code()}

Encodes the given value using code 128 symbology.

Accepts the same arguments as encode/1. Returns Barlix.code/0 or raises Barlix.Error in case of invalid value.