byteLength property

int get byteLength

Number of UTF-8 bytes backing this string. O(1).

Implementation

int get byteLength => _bytes.length;