Sha256: 4ddfa5a3ee7256d1afcc0553f14eede2695e87112aa70e3728570bb59fc0d718
Contents?: true
Size: 444 Bytes
Versions: 11
Compression:
Stored size: 444 Bytes
Contents
const Interpreter = require('../interpreter/Interpreter') const interpreter = new Interpreter() class Receiver { static sendCommand(messageByteArray) { return interpreter.process(messageByteArray) } static heartBeat(messageByteArray) { let response = new Int8Array(2) response[0] = messageByteArray[11] response[1] = messageByteArray[12]-2 return response } } module.exports = Receiver
Version data entries
11 entries across 7 versions & 1 rubygems