convertToUint16List method

Uint16List convertToUint16List([
  1. Endian endian = Endian.big
])

Converts this instance to an Uint16List.

Implementation

Uint16List convertToUint16List([Endian endian = Endian.big]) =>
    _byteDataWithEndian(endian).convertToUint16List(length * 4, endian);