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>list2blob

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

Return a Blob concatenating all the number values in {list}. Examples: list2blob([1, 2, 3, 4]) returns 0z01020304 list2blob([]) returns 0z Returns an empty Blob on error. If one of the numbers is negative or more than 255 error is given. |blob2list()| does the opposite. Can also be used as a |method|: GetList()->list2blob()

Parameters

denops: Denops
list: unknown

Returns

Promise<unknown>