tl v57.2.0-rc TL.Utils

Module with utils

Summary

Functions

Adds zero-padding to the end of the binary

Calculates how much bytes should be added to fill padding

Functions

padding(padding_width, binary)
padding(pos_integer, binary) :: binary

Adds zero-padding to the end of the binary

padding_size(padding_width, binary_size)
padding_size(pos_integer, non_neg_integer) :: non_neg_integer

Calculates how much bytes should be added to fill padding