View Source argo_array_value (argo v1.1.0)
Summary
Types
-type index() :: non_neg_integer().
-type item() :: argo_value:t().
-opaque iterator()
-type iterator_order() :: ordered | reversed | key_func() | order_func().
-type t() :: #argo_array_value{wire_type :: argo_array_wire_type:t(), items :: [argo_value:t()]}.
Functions
-spec iterator(ArrayValue, Order) -> Iterator when ArrayValue :: t(), Order :: iterator_order(), Iterator :: iterator().
-spec new(ArrayWireType, Items) -> ArrayValue when ArrayWireType :: argo_array_wire_type:t(), Items :: [argo_value:t()], ArrayValue :: t().
-spec size(ArrayWireType) -> Size when ArrayWireType :: t(), Size :: non_neg_integer().
-spec to_array_wire_type(ArrayValue) -> ArrayWireType when ArrayValue :: t(), ArrayWireType :: argo_array_wire_type:t().