Sha256: c20d602186363b0ae0e1fec57827f0193e9b5c85a673f0dff557b6aa8ea12cb8

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

const Interpreter = require('../interpreter/Interpreter')
const interpreter = new Interpreter()

class Receiver {
    static sendCommand(byteArray) {
        return interpreter.process(byteArray)
    }
    static heartBeat(byteArray) {
        return Int8Array.from([49, 48])
    }
}

module.exports = Receiver

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.4.6 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.4.5 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.4.4 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.4.3 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.4.2 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.1.14 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js
javonet-ruby-sdk-2.1.13 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js