File data segment (F_SG_NA_1, TypeID 125).
Summary
Functions
Maximum segment payload size for given AppLayerParameters, matching FileSegment_GetMaxDataSize.
Types
@type t() :: %IEC60870.IO.File.FileSegment{ data: binary(), ioa: non_neg_integer(), nof: non_neg_integer(), nos: byte() }
Functions
@spec max_data_size(IEC60870.AppLayerParameters.t()) :: non_neg_integer()
Maximum segment payload size for given AppLayerParameters, matching FileSegment_GetMaxDataSize.