Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>readblob

📚 Standard module for denops.vim
Go to Latest
function readblob
import { readblob } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

Read file {fname} in binary mode and return a |Blob|. When the file can't be opened an error message is given and the result is an empty |Blob|. Also see |readfile()| and |writefile()|.

Parameters

denops: Denops
fname: unknown

Returns

Promise<unknown>