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