View Source TypeCheck.Builtin.SizedBitstring (TypeCheck v0.12.0)
Link to this section Summary
Link to this section Types
(This type is managed by TypeCheck
,
which allows checking values against the type at runtime.)
Full definition:
problem_tuple :: {t(), :no_match, %{}, any()} | {t(), :wrong_size, %{}, any()}
@type t() :: %TypeCheck.Builtin.SizedBitstring{ prefix_size: non_neg_integer(), unit_size: nil | %Range{first: 1, last: 256, step: 1} }
(This type is managed by TypeCheck
,
which allows checking values against the type at runtime.)
Full definition:
t :: %TypeCheck.Builtin.SizedBitstring{
prefix_size: non_neg_integer(),
unit_size: nil | %{__struct__: Range, first: 1, last: 256, step: 1}
}