textEncoder top-level property

dynamic get textEncoder

TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.

MDN Reference

Implementation

_i2.dynamic get textEncoder => _i4.getProperty(
      _self,
      'TextEncoder',
    );