Avrora.Encoder.encode_plain

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

encode_plain(payload, list)

View Source

Specs

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

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

Examples

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