Percent.encode
import { Percent } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts";
const { encode } = Percent;
Encodes the specified byte sequence into a string.
@example
Percent.encode(Uint8Array.of(0x61, 0x62, 0x0, 0xFF));
// → "%61%62%00%FF"
Percent.encode(Uint8Array.of(0x61, 0x62, 0x0, 0xFF), Percent.Options.URI_COMPONENT);
// → "ab%00%FF"