12 lines
238 B
JavaScript
12 lines
238 B
JavaScript
|
// Generated by CoffeeScript 1.9.2
|
||
|
module.exports = function(model, calc) {
|
||
|
var fn;
|
||
|
fn = function(buf, previous) {
|
||
|
return calc(buf, previous) >>> 0;
|
||
|
};
|
||
|
fn.signed = calc;
|
||
|
fn.unsigned = fn;
|
||
|
fn.model = model;
|
||
|
return fn;
|
||
|
};
|