UNPKG

@zandor300/jsmodbus

Version:

Implementation for the Serial/TCP Modbus protocol.

15 lines (14 loc) 353 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ModbusClientResponseHandler { constructor() { this._buffer = Buffer.alloc(0); } shift() { return this._messages.shift(); } clearBuffer() { this._buffer = Buffer.alloc(0); } } exports.default = ModbusClientResponseHandler;