-
- All Known Implementing Classes:
RiffSize
@Immutable public interface RiffSizeTypeA (possibly padded) size value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.booleanisPadded()longsize()default longsizeUnpadded()
-
-
-
Method Detail
-
size
@Parameter long size()
- Returns:
- The raw size value
-
isPadded
@Parameter boolean isPadded()
- Returns:
trueif the size value has an extra padding byte
-
sizeUnpadded
default long sizeUnpadded()
- Returns:
- The size without any padding (if any exists)
-
checkPreconditions
@Check default void checkPreconditions()
Check preconditions for the type.
-
-