mirror of
https://github.com/cubixle/iabtcfv2.git
synced 2026-04-30 14:38:41 +01:00
Add comment on functions
This commit is contained in:
@@ -13,6 +13,7 @@ type AllowedVendors struct {
|
||||
RangeEntries []*RangeEntry
|
||||
}
|
||||
|
||||
// Returns true if vendor id is allowed for OOB signaling
|
||||
func (a *AllowedVendors) IsVendorAllowed(id int) bool {
|
||||
if a.IsRangeEncoding {
|
||||
for _, entry := range a.RangeEntries {
|
||||
@@ -26,6 +27,7 @@ func (a *AllowedVendors) IsVendorAllowed(id int) bool {
|
||||
return a.AllowedVendors[id]
|
||||
}
|
||||
|
||||
// Returns structure as a base64 raw url encoded string
|
||||
func (a *AllowedVendors) Encode() string {
|
||||
bitSize := 20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user