Ferricstore.Resp.ParserNif (ferricstore v0.4.0)

Copy Markdown View Source

Rust NIF binding for RESP3 protocol parsing.

Parses raw RESP3 wire bytes into Elixir terms. There is no Elixir fallback parser.

Summary

Functions

parse(data, max_value_size)

@spec parse(binary(), non_neg_integer()) :: {:ok, list(), binary()} | {:error, term()}

parse_commands(data, max_value_size)

@spec parse_commands(binary(), non_neg_integer()) ::
  {:ok, list(), binary()} | {:error, term()}