View Source argo_scalar_wire_type (argo v1.0.6)
Summary
Types
-type inner() :: boolean | bytes | argo_fixed_wire_type:t() | float64 | string | varint.
-type t() :: #argo_scalar_wire_type{inner :: argo_scalar_wire_type:inner()}.
Functions
-spec boolean() -> ScalarWireType when ScalarWireType :: t().
-spec bytes() -> ScalarWireType when ScalarWireType :: t().
-spec fixed(LengthOrFixedWireType) -> ScalarWireType when LengthOrFixedWireType :: argo_types:length() | argo_fixed_wire_type:t(), ScalarWireType :: t().
-spec float64() -> ScalarWireType when ScalarWireType :: t().
-spec is_fixed_length(ScalarWireType, Length) -> boolean() when ScalarWireType :: t(), Length :: argo_types:length().
-spec string() -> ScalarWireType when ScalarWireType :: t().
-spec varint() -> ScalarWireType when ScalarWireType :: t().