barlix v0.3.0 Barlix.Code93

This module implements the Code 93 symbology.

Summary

Functions

Encodes the given value using code 93 symbology

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

Functions

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

Encodes the given value using code 93 symbology.

encode!(value)
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.