Skip to content

Commit

Permalink
Remove dump_bytes from util as it is unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaxxz committed Mar 2, 2015
1 parent ba6358c commit df10a14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions util.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ function lpad(str, len) {
return str;
}

exports.dump_bytes = function dump_bytes(raw_packet, offset) {
for (var i = offset; i < raw_packet.pcap_header.caplen ; i += 1) {
console.log(i + ": " + raw_packet[i]);
}
};

var int8_to_hex = [];
var int8_to_hex_nopad = [];
var int8_to_dec = [];
Expand Down

0 comments on commit df10a14

Please sign in to comment.