/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageTrailer.h
NOTE: At the moment this is not const as we need to check for and remove duplicate payload entries as we do this before building the trailer not when gathering the entry info.
uint64 CalculateTrailerLength()