View Source argo_wire_type_store (argo v1.0.3)

Summary

Types

-type t() :: #argo_wire_type_store{}.

Functions

-spec display(WireTypeStore) -> ok when WireTypeStore :: t().
Link to this function

display(IoDevice, WireTypeStore)

View Source
-spec display(IoDevice, WireTypeStore) -> ok when IoDevice :: io:device(), WireTypeStore :: t().
Link to this function

find(WireTypeStore, TypeName)

View Source
-spec find(WireTypeStore, TypeName) -> {ok, WireType} | error
        when WireTypeStore :: t(), TypeName :: argo_types:name(), WireType :: argo_wire_type:t().
-spec format(WireTypeStore) -> Output when WireTypeStore :: t(), Output :: iolist().
Link to this function

format_with_lines(WireTypeStore)

View Source
-spec format_with_lines(WireTypeStore) -> unicode:unicode_binary() when WireTypeStore :: t().
-spec from_json(JsonValue) -> WireTypeStore
             when JsonValue :: argo_json:json_value(), WireTypeStore :: t().
-spec from_reader(Reader) -> {Reader, WireTypeStore} when Reader :: binary(), WireTypeStore :: t().
Link to this function

insert(WireTypeStore, TypeName, WireType)

View Source
-spec insert(WireTypeStore, TypeName, WireType) -> WireTypeStore
          when WireTypeStore :: t(), TypeName :: argo_types:name(), WireType :: argo_wire_type:t().
-spec new() -> WireTypeStore when WireTypeStore :: t().
-spec to_json(WireTypeStore) -> JsonValue when WireTypeStore :: t(), JsonValue :: argo_json:json_value().
Link to this function

to_writer(WireTypeStore)

View Source
-spec to_writer(WireTypeStore) -> Writer when WireTypeStore :: t(), Writer :: binary().
Link to this function

to_writer(WireTypeStore, Header)

View Source
-spec to_writer(WireTypeStore, Header) -> Writer
             when WireTypeStore :: t(), Header :: argo_header:t(), Writer :: binary().