class IABConsentString::Consent::Range::RangeEntry
Public Instance Methods
appendTo(buffer, currentOffset)
click to toggle source
Append this range entry to the bit buffer @param buffer [Bits] bit buffer @param currentOffset [Integer] current offset in the buffer @return [Integer] new offset
# File lib/iab_consent_string/consent/range/range_entry.rb, line 9 def appendTo(buffer, currentOffset) raise NotImplementedError end
valid(maxVendorId)
click to toggle source
Check if range entry is valid for the specified max vendor id @param maxVendorId [Integer] max vendor id @return [Boolean] true if range entry is valid, false otherwise
# File lib/iab_consent_string/consent/range/range_entry.rb, line 16 def valid(maxVendorId) raise NotImplementedError end