View Source argo_value_encoder (argo v1.0.2)
Summary
Types
-type t() :: #argo_value_encoder{}.
Functions
-spec encode_value(ValueEncoder, Value) -> ValueEncoder when ValueEncoder :: t(), Value :: argo_value:t().
-spec encode_value(ValueEncoder, Value, OptionWireType) -> ValueEncoder when ValueEncoder :: t(), Value :: argo_value:t(), OptionWireType :: argo_types:option(argo_wire_type:t()).
-spec format_error(dynamic(), dynamic()) -> dynamic().
-spec new(Header) -> ValueEncoder when Header :: argo_header:t(), ValueEncoder :: t().
-spec to_writer(ValueEncoder) -> Writer when ValueEncoder :: t(), Writer :: binary().