Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 364 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 364 Bytes

erlang_base62

Build

$ make

Simple Usage

encode

<<"MTA">> = base62:encode(10),
base62:encode(<<"10">>),
base62:encode("10").

decode

%% decode data to specified format , default format is binary
base62:decode(<<"MTA">>),
base62:decode("MTA"),
base62:decode(<<"MTA">>,string).
base62:decode("MTA",string).