Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v3.9.0/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>