Interface RiffSizeType

All Known Implementing Classes:
RiffSize

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

    Modifier and Type
    Method
    Description
    default void
    Check preconditions for the type.
    boolean
     
    long
     
    default long
     
  • Method Details

    • 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.