Skip to main content
Version: Next

byteSize()

function byteSize(str): number

Get length of string in bytes

Parameters

ParameterTypeDescription
strstring

Returns

number

size in bytes