erlang:adler32/1
计算并返回一个数据的 Adler-32 校验值
用法:
adler32(Data) -> integer()
计算并返回一个数据 Data 的 Adler-32 校验值
erlang:adler32([]).
erlang:adler32([1, "a"]).
erlang:adler32("test").
Data = [<<"9">>, "81", <<1>>, <<"52=">>, [[50,48,49,48,49,48,50,54,45,49,53,":",52,53,":",52,52]], <<1>>, <<1>>, [<<"9">>,<<"0">>,<<1>>], [<<"5">>,<<"4">>,<<1>>] ], erlang:adler32(Data).