erl_cbor_encoding (erl_cbor v2.0.1)
Link to this section Summary
Link to this section Types
Link to this type
encodable/0
Specs
encodable() :: integer() | float() | positive_zero | negative_zero | positive_infinity | negative_infinity | nan | boolean() | binary() | list() | map() | byte() | null | undefined | {string, string() | binary()} | {datetime, erl_cbor_time:datetime()} | {datetime, erl_cbor_time:datetime(), integer()} | {timestamp, erl_cbor_time:datetime()} | {erl_cbor:tag(), encodable()}.
Link to this section Functions
Link to this function
encode(Value)
Specs
encode(encodable()) -> nonempty_binary() | [<<_:8>> | unicode:chardata(), ...].