View Source argo_wire_type_store (argo v1.0.2)

Summary

Types

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

Functions

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

display(WireTypeStore, IoDevice)

View Source
-spec display(WireTypeStore, IoDevice) -> ok when WireTypeStore :: t(), IoDevice :: io:device().
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().
-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().
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().