Barlix.Code128 (barlix v0.6.3) 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

Specs

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

Encodes the given value using code 128 symbology.

Specs

encode!(String.t() | charlist()) :: Barlix.code() | no_return()

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