forgot a equal sign

feature-extract-files
bwhitn 2017-12-15 19:53:09 -05:00
parent 75a5fc0ddc
commit 06c83cb44c
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ const NetBIOS = {
let output = [],
offset = args[0];
if (input.length <= 32 && (input.length % 2) == 0) {
if (input.length <= 32 && (input.length % 2) === 0) {
for (let i = 0; i < input.length; i += 2) {
output.push((((input[i] & 0xff) - offset) << 4) |
(((input[i + 1] & 0xff) - offset) & 0xf));