static toUint16(data, offset = 0, length = Infinity) {
    return shaka.util.BufferUtils.view_(data, offset, length, Uint16Array);
  }
Creates a new Uint16Array view on the same buffer.  This clamps the values
to be within the same view (i.e. you can't use this to move past the end
of the view, even if the underlying buffer is larger).  However, you can
pass a negative offset to access the data before the view.

@param {BufferSource} data
@param {number=} offset The offset from the beginning of this data's view
  to start the new view at.
@param {number=} length The byte length of the new view.
@return {!Uint16Array}
@export