Completed
Push — master ( e0312c...039e96 )
by Rafael S.
01:40
created

externs.js (4 issues)

Severity
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
The parameter bytes is not used and could be removed.

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.

Loading history...
The parameter end is not used and could be removed.

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.

Loading history...
The parameter start is not used and could be removed.

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.

Loading history...
The parameter offset is not used and could be removed.

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.

Loading history...
17