usput

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USPUT

type USPUT struct {
	SectionID   constants.SectionID
	Value       string
	CoreSegment USPUTCoreSegment
}

func NewUSPUT

func NewUSPUT(encoded string) (USPUT, error)

func (USPUT) Encode

func (usput USPUT) Encode(bool) []byte

func (USPUT) GetID

func (usput USPUT) GetID() constants.SectionID

func (USPUT) GetValue

func (usput USPUT) GetValue() string

type USPUTCoreSegment

type USPUTCoreSegment struct {
	Version                             byte
	SharingNotice                       byte
	SaleOptOutNotice                    byte
	TargetedAdvertisingOptOutNotice     byte
	SensitiveDataProcessingOptOutNotice byte
	SaleOptOut                          byte
	TargetedAdvertisingOptOut           byte
	SensitiveDataProcessing             []byte
	KnownChildSensitiveDataConsents     byte
	MspaCoveredTransaction              byte
	MspaOptOutOptionMode                byte
	MspaServiceProviderMode             byte
}

func NewUPSUTCoreSegment

func NewUPSUTCoreSegment(bs *util.BitStream) (USPUTCoreSegment, error)

func (USPUTCoreSegment) Encode

func (segment USPUTCoreSegment) Encode(bs *util.BitStream)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL