Skip to main content
Module

x/denops_std/buffer/fileencoding.ts>tryDecode

📚 Standard module for denops.vim
Latest
function tryDecode
import { tryDecode } from "https://deno.land/x/denops_std@v6.5.1/buffer/fileencoding.ts";

Try to decode with fileencodings specified.

Parameters

content: Uint8Array
fileencodings: string[]

Returns

[string, string]