Avrora.Encoder.decode_plain

You're seeing just the function decode_plain, go back to Avrora.Encoder module for more information.
Link to this function

decode_plain(payload, list)

View Source

Specs

decode_plain(binary(), [{:schema_name, String.t()}]) ::
  {:ok, map()} | {:error, term()}

Decode binary Avro message with a :plain format and load schema from local file.

Examples

...> payload = <<0, 232, 220, 144, 233, 11, 200, 1>>
...> Avrora.Encoder.decode_plain(payload,"io.confluent.NumericTransfer")
{:ok, %{"link_is_enabled" => false, "updated_at" => 1586632500, "updated_by_id" => 100}