byteLength

Buffer. byteLength

new byteLength(data, encodingopt) → {number}

Source:

[W.I.P]

Parameters:
Name Type Attributes Description
data any
encoding string <optional>

If data is String, the encoding of string. Default: 'utf8'.

Returns:
Type
number