Interface SMFB2SectionType
-
- All Known Implementing Classes:
SMFB2Section
@Immutable public interface SMFB2SectionTypeA parsed section.
-
-
Field Summary
Fields Modifier and Type Field Description static intSECTION_ALIGNMENTThe required natural alignment of sections.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.longid()longoffset()longsizeOfData()The size of the section data, not including the magic number or this size value.default longsizeTotal()
-
-
-
Field Detail
-
SECTION_ALIGNMENT
static final int SECTION_ALIGNMENT
The required natural alignment of sections.- See Also:
- Constant Field Values
-
-
Method Detail
-
id
@Parameter long id()
- Returns:
- The identifier of this section
-
sizeOfData
@Parameter long sizeOfData()
The size of the section data, not including the magic number or this size value.
sizeOfData() + 8 + 8must be a multiple ofSECTION_ALIGNMENT- Returns:
- The size of this section
-
offset
@Parameter long offset()
- Returns:
- The absolute offset of the start of the section
-
sizeTotal
@Derived default long sizeTotal()
- Returns:
- The total size of the section: The size of the data plus the header
-
checkPreconditions
@Check default void checkPreconditions()
Check preconditions for the type.
-
-