mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
remove dead code
This commit is contained in:
parent
6d90a4c992
commit
7be2ac1150
@ -63,19 +63,6 @@ process.on('exit', function() {
|
||||
});
|
||||
});
|
||||
|
||||
stringToHex = function(string) {
|
||||
var b = Buffer(string,'utf8');
|
||||
var result = [];
|
||||
for(var i = 0; i < b.length; i++) {
|
||||
result.push(b[i]);
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
hexToString = function(hexArray) {
|
||||
return new Buffer(hexArray).toString('utf8');
|
||||
}
|
||||
|
||||
MemoryStream = function() {
|
||||
EventEmitter.call(this);
|
||||
this.packets = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user