Interface RiffSizeType

  • All Known Implementing Classes:
    RiffSize

    @Immutable
    public interface RiffSizeType
    A (possibly padded) size value.
    • Method Detail

      • size

        @Parameter
        long size()
        Returns:
        The raw size value
      • isPadded

        @Parameter
        boolean isPadded()
        Returns:
        true if 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.