croma v0.4.6 Croma.Byte

Module that represents the Elixir’s built-in byte type. Intended to be used with other parts of croma to express byte variables.

Summary

Functions

Simply checks the argument’s type using var!(x) in 0..255 and returns a Croma.Result

Types

t :: byte

Functions

validate(value)

Specs

Simply checks the argument’s type using var!(x) in 0..255 and returns a Croma.Result.