Skip to main content
Module

x/structurae/index.ts>StringView.getLength

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

Returns the size in bytes of a given string.

Parameters

optional
string = [UNSUPPORTED]

the string to check

Returns

number

the size in bytes