Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

define_crc.js 284B

12345678910111213141516
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = function (model, calc) {
  6. var fn = function fn(buf, previous) {
  7. return calc(buf, previous) >>> 0;
  8. };
  9. fn.signed = calc;
  10. fn.unsigned = fn;
  11. fn.model = model;
  12. return fn;
  13. };