Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Percent.Decoder

import { Percent } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts"; 

const { Decoder } = Percent;

Percent decoder

class Decoder implements [BytesEncoding.Decoder] {
constructor(options?: Options);
decode(encoded: string): Uint8Array;
}

§Implements

§
[BytesEncoding.Decoder]
[src]

§Constructors

§
new Decoder(options?: Options)
[src]
@param options

The Percent.Options dictionary.

§Methods

§
decode(encoded: string): Uint8Array
[src]

Decodes a Percent-encoded string into an Uint8Array.

@param encoded

The string to decode.

@return

An Uint8Array containing the decoded byte sequence.