Gpp
v0.1.4
  • Pages
  • Modules

    View Source Gpp (Gpp v0.1.4)

    IAB Global Privacy Platform string decoding.

    Spec

    Link to this section Summary

    Types

    section()
    section_id()
    t()

    Functions

    parse(input)
    section_id_to_name!(unknown)
    section_name_to_id!(unknown)

    Link to this section Types

    Link to this type

    section()

    View Source
    @type section() ::
      Gpp.Sections.Tcf.t()
      | Gpp.Sections.Uspca.t()
      | Gpp.Sections.Uspco.t()
      | Gpp.Sections.Uspct.t()
      | Gpp.Sections.Usput.t()
      | Gpp.Sections.Uspv1.t()
      | Gpp.Sections.Uspva.t()
      | Gpp.Sections.Uspnat.t()
    Link to this type

    section_id()

    View Source
    @type section_id() :: pos_integer()
    Link to this type

    t()

    View Source
    @type t() :: %Gpp{
      section_ids: [section_id()],
      sections: [section()],
      type: pos_integer(),
      version: pos_integer()
    }

    Link to this section Functions

    Link to this function

    parse(input)

    View Source
    @spec parse(String.t()) :: {:ok, t()} | {:error, Exception.t()}
    Link to this function

    section_id_to_name!(unknown)

    View Source
    Link to this function

    section_name_to_id!(unknown)

    View Source

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.4) for the Elixir programming language