mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Clean up imports to make Intellij code analysis happy
This commit is contained in:
parent
68ee06ef11
commit
a054557f10
40 changed files with 139 additions and 57 deletions
|
|
@ -1,4 +1,5 @@
|
|||
class HexUtil {
|
||||
/** @param {Buffer} buffer */
|
||||
static debugDump(buffer) {
|
||||
let hexLine = '';
|
||||
let chrLine = '';
|
||||
|
|
|
|||
|
|
@ -101,5 +101,7 @@ class Gamedig {
|
|||
}
|
||||
|
||||
}
|
||||
Gamedig.debug = false;
|
||||
Gamedig.isCommandLine = false;
|
||||
|
||||
module.exports = Gamedig;
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ class Reader {
|
|||
return r;
|
||||
}
|
||||
|
||||
/** @returns Buffer */
|
||||
part(bytes) {
|
||||
let r;
|
||||
if(this.remaining() >= bytes) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue