Class AlignedStructureInspector


  • public class AlignedStructureInspector
    extends AlignedStructurePacker
    AlignedStructureInspector provides a simple instance of a structure member container used to perform alignment operations without forcing modification of the actual structure. A wrapper is not used for the flexible array component which will not be modified by packer.
    • Method Detail

      • packComponents

        public static AlignedStructurePacker.StructurePackResult packComponents​(Structure structure)
        Perform structure component packing in a read-only fashion primarily for the purpose of computing external alignment for existing structures.
        Parameters:
        structure -
        Returns:
        aligned packing result