Skip to main content
Module

x/structurae/index.ts>StringView#getCharStart

Data structures for high-performance JavaScript applications.
Latest
method StringView.prototype.getCharStart
import { StringView } from "https://deno.land/x/structurae@4.0.1/index.ts";

Returns the index of the first byte of a character.

Parameters

index: number

a character index

optional
startCharIndex = [UNSUPPORTED]
optional
startIndex = [UNSUPPORTED]

Returns

number

the index of the first byte of a character