byteLength static method

Buffer byteLength(
  1. dynamic string,
  2. [dynamic encoding]
)

Returns the actual byte length of a string.

Implementation

external static Buffer byteLength(string, [encoding]);