Saltpack.Armor (saltpack v1.3.5)
View SourceArmoring
Summary
Types
A keyword list with formatting options
Types
@type formatting_options() :: [ app: String.t(), chars_per_word: pos_integer(), words_per_line: pos_integer() ]
A keyword list with formatting options
app
: the application name (default: "")chars_per_word
: grouping word-size (default: 18)words_per_line
: grouping line-size (default: 4)
The start and end framing are always presented on separate lines.
72 (4 words of 18 characters)
+3 (inter-word spaces)
+1 (end-of-message indicator: `.`)
==
76 (default maximum line-length)