Packmatic.Source.Random (Packmatic v2.0.0)

View Source

Represents randomly generated content, which is used mostly for testing, when you want to have a particular entry generated to a specific length.

Summary

Types

init_arg()

@type init_arg() :: non_neg_integer()

init_result()

@type init_result() :: {:ok, t()}

t()

@type t() :: %Packmatic.Source.Random{
  bytes_remaining: non_neg_integer(),
  chunk_size: non_neg_integer(),
  template: binary()
}