lib/connection.js
function header(length) {
                var res = [0x09, 0x09, 0x00, 0x00];
                res.push((length & 0x000000FF) >> 0);
                res.push((length & 0x0000FF00) >> 8);
                res.push((length & 0x00FF0000) >> 16);
                res.push((length & 0xFF000000) >> 24);
                return new Buffer(res);
            }
function header(length) {
                var res = [0x09, 0x09, 0x00, 0x00];
                res.push((length & 0x000000FF) >> 0);
                res.push((length & 0x0000FF00) >> 8);
                res.push((length & 0x00FF0000) >> 16);
                res.push((length & 0xFF000000) >> 24);
                return new Buffer(res);
            }
function header ( length ) { var res = [ 0x09 , 0x09 , 0x00 , 0x00 ] ; res . push ( ( length & 0x000000FF ) >> 0 ) ; res . push ( ( length & 0x0000FF00 ) >> 8 ) ; res . push ( ( length & 0x00FF0000 ) >> 16 ) ; res . push ( ( length & 0xFF000000 ) >> 24 ) ; return new Buffer ( res ) ; }
Creates header for clusterpoint messages
@param  {Integer} length
@return {Buffer}
Creates header for clusterpoint messages