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

📚 Standard module for denops.vim
Go to Latest
function blob2list
import { blob2list } from "https://deno.land/x/denops_std@v3.8.1/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>