StellarBase.StrKey (Elixir Stellar Base v0.2.2) View Source

Allows encoding and decoding signatures used in the Stellar network.

Link to this section Summary

Link to this section Types

Specs

binary_data() :: binary() | nil

Specs

data() :: String.t() | nil

Link to this section Functions

Specs

decode(data :: String.t(), version :: atom()) ::
  {:ok, binary()} | {:error, atom()}

Specs

decode!(data :: data(), version :: atom()) :: binary() | no_return()

Specs

encode(data :: binary_data(), version :: atom()) ::
  {:ok, String.t()} | {:error, atom()}

Specs

encode!(data :: binary_data(), version :: atom()) :: String.t() | no_return()