1 | /** |
||
2 | * @fileoverview Externs for endianness 7.0 |
||
3 | * |
||
4 | * @see https://github.com/rochars/endianness |
||
5 | * @externs |
||
6 | */ |
||
7 | |||
8 | /** |
||
9 | * Swap the byte ordering in a buffer. The buffer is modified in place. |
||
10 | * @param {!Array<number|string>|!Uint8Array} bytes The bytes. |
||
11 | * @param {number} offset The byte offset. |
||
12 | * @param {number=} start The start index. Assumes 0. |
||
13 | * @param {?number=} end The end index. Assumes the buffer length. |
||
14 | * @throws {Error} If the buffer length is not valid. |
||
15 | */ |
||
16 | function endianness(bytes, offset, start=0, end=null) {} |
||
0 ignored issues
–
show
|
|||
17 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.