avro_ex v0.1.0-beta.6 AvroEx.Encode

Link to this section Summary

Link to this section Types

Link to this type reason()
reason() :: term()

Link to this section Functions

Link to this function do_encode(name, context, data)
Link to this function encode(schema, data)
encode(AvroEx.Schema.t(), term()) ::
  {:ok, AvroEx.encoded_avro()} |
  {:error, :data_does_not_match_schema, term(), AvroEx.Schema.t()} |
  {:error, reason()} |
  {:error, reason(), term()}
Link to this function variable_integer_encode(arg)
Link to this function zigzag_encode(primitive, int)
zigzag_encode(AvroEx.Schema.Primitive.t(), integer()) :: binary()