Elixir XDR v0.1.1 XDR.Padding View Source
XDR encodings sometimes require padding. This module includes some helper functions to do those calculations.
Link to this section Summary
Functions
The actual padding bytes required given the lenght of the content
The number of bytes of padding required, given the length of the content
Link to this section Types
Link to this section Functions
The actual padding bytes required given the lenght of the content
Link to this function
padding_length(data_length)
View Sourcepadding_length(non_neg_integer()) :: padding_len()
The number of bytes of padding required, given the length of the content