dep/node-buffalo/lib/mongo.js
function writeHeader(buffer, offset, size, opCode) {
    offset = binary.writeInt(buffer, offset, size)
    offset = binary.writeInt(buffer, offset, 0)
    offset = binary.writeInt(buffer, offset, 0)
    offset = binary.writeInt(buffer, offset, opCode)
    return offset
}
function writeHeader(buffer, offset, size, opCode) {
    offset = binary.writeInt(buffer, offset, size)
    offset = binary.writeInt(buffer, offset, 0)
    offset = binary.writeInt(buffer, offset, 0)
    offset = binary.writeInt(buffer, offset, opCode)
    return offset
}
function writeHeader ( buffer , offset , size , opCode ) { offset = binary . writeInt ( buffer , offset , size ) offset = binary . writeInt ( buffer , offset , 0 ) offset = binary . writeInt ( buffer , offset , 0 ) offset = binary . writeInt ( buffer , offset , opCode ) return offset }
header int32 size int32 request id int32 0 int32 op code command
header int32 size int32 request id int32 0 int32 op code command