Go to Latest
variable encodingOps
import { encodingOps } from "https://dotland.deno.dev/std@0.177.0/node/internal/buffer.mjs";

type

{ ascii: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; base64: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; base64url: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; hex: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; latin1: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; ucs2: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; utf8: { byteLength; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; utf16le: { byteLength: (string) => unknown; encoding: string; encodingVal; indexOf: (
buf,
val,
byteOffset,
dir,
) => unknown; slice: (
buf,
start,
end,
) => unknown; write: (
buf,
string,
offset,
len,
) => unknown; }; }