Elixir XDR v0.1.1 XDR.Type.CustomType View Source

A custom type is referenced by its name, as a bit string / binary

Link to this section Summary

Types

t()

A custom type is referenced by its name, as a bit string / binary

Functions

Add a new type to the map, which is usually stored in a module that uses XDR.Base The map serves a a lookup from friendly type names to fully-defined XDR.Type.t() values

Link to this section Types

A custom type is referenced by its name, as a bit string / binary

Link to this type

type_map()

View Source
type_map() :: %{required(String.t()) => XDR.Type.t()}

Link to this section Functions

Link to this function

register_type(custom_types, alias_name, base_type, options)

View Source
register_type(type_map(), String.t(), XDR.Type.t(), XDR.ignored()) :: type_map()

Add a new type to the map, which is usually stored in a module that uses XDR.Base The map serves a a lookup from friendly type names to fully-defined XDR.Type.t() values