View Source argo_wire_type_store (argo v1.0.6)

Summary

Types

Functions

Link to this function

display(IoDevice, WireTypeStore, Options)

View Source
-spec display(IoDevice, WireTypeStore, Options) -> ok
           when
               IoDevice :: io:device(),
               WireTypeStore :: t(),
               Options :: argo_wire_type_printer:options().
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().
Link to this function

find_entry(WireTypeStore, TypeName)

View Source
-spec find_entry(WireTypeStore, TypeName) -> {ok, WireTypeStoreEntry} | error
              when
                  WireTypeStore :: t(),
                  TypeName :: argo_types:name(),
                  WireTypeStoreEntry :: argo_wire_type_store_entry:t().
Link to this function

format(WireTypeStore, Options)

View Source
-spec format(WireTypeStore, Options) -> Output
          when
              WireTypeStore :: t(),
              Options :: argo_wire_type_printer:options(),
              Output :: unicode:unicode_binary().
-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, WireTypeStoreEntry)

View Source
-spec insert(WireTypeStore, WireTypeStoreEntry) -> WireTypeStore
          when WireTypeStore :: t(), WireTypeStoreEntry :: argo_wire_type_store_entry: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().