spelling: returns

This commit is contained in:
Josh Soref 2019-10-13 03:11:09 -04:00
parent a712d47663
commit d743e47886

View file

@ -178,7 +178,7 @@ export function scanForFileTypes(buf, categories=Object.keys(FILE_SIGNATURES)) {
* @param {Uint8Array} buf - The buffer to search * @param {Uint8Array} buf - The buffer to search
* @param {Object} sig - A single signature object (Not an array of signatures) * @param {Object} sig - A single signature object (Not an array of signatures)
* @param {number} offset - Where to start search from * @param {number} offset - Where to start search from
* @returs {number} The position of the match or -1 if one cannot be found. * @returns {number} The position of the match or -1 if one cannot be found.
*/ */
function locatePotentialSig(buf, sig, offset) { function locatePotentialSig(buf, sig, offset) {
// Find values for first key and value in sig // Find values for first key and value in sig