a practice for parse transform
Add erlpkcs7 to rebar.config
dependencies:
{deps, [
{erlpkcs,{git , "https://github.com/haoxianhan/erlpkcs7.git", {tag, "master"}}}
]}.
erlpkcs7:pad(<<1,1,2>>).
%% <<1,1,2,13,13,13,13,13,13,13,13,13,13,13,13,13>>
erlpkcs7:unpad(<<1, 1, 1, 1, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11>>).
%% <<1,1,1,1,1>>