Add GetVersion and improve decode functions

This commit is contained in:
Thomas LAY
2020-04-06 12:05:17 +02:00
parent 32789f27a7
commit 9a1d3523ab
3 changed files with 221 additions and 57 deletions

View File

@@ -2,6 +2,13 @@ package iabtcfv2
import "strings"
const (
coreStringType = 0
disclosedVendorsType = 1
allowedVendorsType = 2
publicherTCType = 3
)
type TCData struct {
CoreString *CoreString
DisclosedVendors *DisclosedVendors