warmwaffles / fast64_elixir

High performance base64 encoder/decoder for elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast64

Scorecards supply-chain security

High performance Elixir base64 encoder/decoder in C 20x faster than Elixir default implementation.

Installation

If available in Hex, the package can be installed by adding fast64 to your list of dependencies in mix.exs:

def deps do
  [
    {:fast64, "~> 0.1.3"}
  ]
end

#How to

def sample do
  encoded = Fast64.encode64("hello")
  decoded = Fast64.decode64("aGVsbG8=")
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/fast64.

About

High performance base64 encoder/decoder for elixir


Languages

Language:C 81.3%Language:Elixir 13.4%Language:Makefile 5.3%