mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Added support for Starsiege 2009 Closes #100 (v2.0.2)
This commit is contained in:
parent
ad0be5a0bf
commit
9619449d77
6 changed files with 72 additions and 7 deletions
|
|
@ -4,6 +4,7 @@ class HexUtil {
|
|||
let hexLine = '';
|
||||
let chrLine = '';
|
||||
let out = '';
|
||||
out += "Buffer length: " + buffer.length + " bytes\n";
|
||||
for(let i = 0; i < buffer.length; i++) {
|
||||
const sliced = buffer.slice(i,i+1);
|
||||
hexLine += sliced.toString('hex')+' ';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue