ATECC508A.Util (atecc508a v1.4.0)

Copy Markdown View Source

Various utility functions

Summary

Functions

Pad the given binary out to the specified length.

Trim trailing zeros from a binary.

Functions

pad_zeros(bin, len)

@spec pad_zeros(binary(), pos_integer()) :: binary()

Pad the given binary out to the specified length.

trim_zeros(bin)

@spec trim_zeros(binary()) :: binary()

Trim trailing zeros from a binary.