Ehelper.Encoder (Ehelper v0.2.9)

View Source

Encoding and decoding helpers

bianry integer

0b0100 #=> 4

#iex> 123 |> dbg(base: :binary) #iex> # 123 #=> 0b1111011

Summary

Functions

bytes2uint(bytes)

uint2bytes(num)