WebURL Documentation Beta

Typealias Lazily​Percent​Decoded​UTF8Without​Substitutions

@available(*, deprecated, renamed: "LazilyPercentDecoded")
public typealias LazilyPercentDecodedUTF8WithoutSubstitutions<Source> = LazilyPercentDecoded<Source>
where Source: Collection, Source.Element == UInt8

A Collection which percent-decodes elements from its Source on-demand.

Percent-decoding transforms certain ASCII sequences to bytes ("%AB" to the byte value 171, or 0xAB), Some encodings (e.g. form encoding) apply substitutions in addition to percent-encoding; use LazilyPercentDecodedWithSubstitutions, providing the correct SubstitutionMap, to accurately decode content encoded with substitutions.