Packmatic.Source.Random (Packmatic v2.0.0)
View SourceRepresents randomly generated content, which is used mostly for testing, when you want to have a particular entry generated to a specific length.
Summary
Types
@type init_arg() :: non_neg_integer()
@type init_result() :: {:ok, t()}
@type t() :: %Packmatic.Source.Random{ bytes_remaining: non_neg_integer(), chunk_size: non_neg_integer(), template: binary() }