utf16le function

String utf16le(
  1. List<int> b,
  2. int s,
  3. int e
)

Implementation

String utf16le(List<int> b, int s, int e) {
  var ss = <String>[];
  for (int i = s; i < e; i += 2) {
    ss.add(String.fromCharCode(readUInt16LE(b, i)));
  }
  return ss.join('').replaceAll(_chr0, '');
}