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

Percent.Encoder

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

const { Encoder } = Percent;

Percent encoder

class Encoder implements [BytesEncoding.Encoder] {
constructor(options?: Options);
encode(toEncode: Uint8Array): string;
}

§Implements

§
[BytesEncoding.Encoder]
[src]

§Constructors

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

The Percent.Options dictionary.

§Methods

§
encode(toEncode: Uint8Array): string
[src]

Encodes the specified byte sequence into a string.

@param toEncode

The byte sequence to encode.

@return

A string containing the Percent-encoded characters.