grizzly v0.8.0 Grizzly.Command.Encoding View Source
Utility module to validate command arguments prior to command encoding
Link to this section Summary
Functions
Verifies that the (sub)arguments of a command, possibly after encoding, meet the given type specs
Link to this section Types
Link to this type
sizable()
View Source
sizable()
View Source
sizable() :: :bits | :bytes
sizable() :: :bits | :bytes
Link to this type
size()
View Source
size()
View Source
size() :: non_neg_integer() | atom()
size() :: non_neg_integer() | atom()
Link to this type
spec() View Source
Link to this type
specs() View Source
Link to this section Functions
Link to this function
encode_and_validate_args(command, type_specs, sub_arguments_path \\ []) View Source
Verifies that the (sub)arguments of a command, possibly after encoding, meet the given type specs