Interface RangeEntry

  • All Known Implementing Classes:
    SingleRangeEntry, StartEndRangeEntry

    public interface RangeEntry
    Range entry of the vendor consent range section. Range entry is a single or range of VendorIds whose consent value is the opposite of DefaultConsent.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int appendTo​(Bits buffer, int currentOffset)
      Append this range entry to the bit buffer
      int size()  
      boolean valid​(int maxVendorId)
      Check if range entry is valid for the specified max vendor id
    • Method Detail

      • size

        int size()
        Returns:
        Size of range entry in bits
      • appendTo

        int appendTo​(Bits buffer,
                     int currentOffset)
        Append this range entry to the bit buffer
        Parameters:
        buffer - bit buffer
        currentOffset - current offset in the buffer
        Returns:
        new offset
      • valid

        boolean valid​(int maxVendorId)
        Check if range entry is valid for the specified max vendor id
        Parameters:
        maxVendorId - max vendor id
        Returns:
        true if range entry is valid, false otherwise