asUint16List method

Stream<Uint16List> asUint16List()

Creates Uint16List views over the underlying data buffer, see ByteBuffer.asUint16List for details.

Implementation

Stream<Uint16List> asUint16List() => map((input) =>
    input.buffer.asUint16List(input.offsetInBytes, input.lengthInBytes));