View Source argo_scalar_wire_type (argo v1.0.3)

Summary

Types

-type inner() :: boolean | bytes | argo_fixed_wire_type:t() | float64 | string | varint.
-type t() :: #argo_scalar_wire_type{}.

Functions

-spec boolean() -> ScalarWireType when ScalarWireType :: t().
-spec bytes() -> ScalarWireType when ScalarWireType :: t().
Link to this function

deduplicate_by_default(ScalarWireType)

View Source
-spec deduplicate_by_default(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

fixed(LengthOrFixedWireType)

View Source
-spec fixed(LengthOrFixedWireType) -> ScalarWireType
         when
             LengthOrFixedWireType :: argo_types:length() | argo_fixed_wire_type:t(),
             ScalarWireType :: t().
-spec float64() -> ScalarWireType when ScalarWireType :: t().
Link to this function

is_boolean(ScalarWireType)

View Source
-spec is_boolean(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_bytes(ScalarWireType)

View Source
-spec is_bytes(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_fixed(ScalarWireType)

View Source
-spec is_fixed(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_fixed_length(ScalarWireType, Length)

View Source
-spec is_fixed_length(ScalarWireType, Length) -> boolean()
                   when ScalarWireType :: t(), Length :: argo_types:length().
Link to this function

is_float64(ScalarWireType)

View Source
-spec is_float64(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_labeled(ScalarWireType)

View Source
-spec is_labeled(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_string(ScalarWireType)

View Source
-spec is_string(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

is_varint(ScalarWireType)

View Source
-spec is_varint(ScalarWireType) -> boolean() when ScalarWireType :: t().
-spec string() -> ScalarWireType when ScalarWireType :: t().
Link to this function

supports_deduplication(ScalarWireType)

View Source
-spec supports_deduplication(ScalarWireType) -> boolean() when ScalarWireType :: t().
Link to this function

to_string(ScalarWireType)

View Source
-spec to_string(ScalarWireType) -> iodata() when ScalarWireType :: t().
-spec varint() -> ScalarWireType when ScalarWireType :: t().