Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method BytesList.prototype.getChunkIndex
import { BytesList } from "https://deno.land/std@0.170.0/bytes/bytes_list.ts";

Find chunk index in which pos locates by binary-search returns -1 if out of range

Parameters

pos: number

Returns

number