UNPKG

@deltazeroproduction/f1-udp-parser

Version:

The F1 series of games support the outputting of key game data via a UDP data stream. This data can be interpreted by external apps or connected peripherals for a range of different uses, including providing additional telemetry information, customised HU

16 lines 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.F1Parser = void 0; const binary_parser_1 = require("binary-parser"); class F1Parser extends binary_parser_1.Parser { /** * * @param {Buffer} buffer */ // tslint:disable-next-line:no-any fromBuffer(buffer) { return this.parse(buffer); } } exports.F1Parser = F1Parser; //# sourceMappingURL=F1Parser.js.map