Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

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

Return a List containing the number value of each byte in Blob {blob}. Examples: blob2list(0z0102.0304) returns [1, 2, 3, 4] blob2list(0z) returns [] Returns an empty List on error. |list2blob()| does the opposite. Can also be used as a |method|: GetBlob()->blob2list()

Parameters

denops: Denops
blob: unknown

Returns

Promise<unknown>