node-serialport-bindings-cpp/packages/binding-abstract
Francis Gulotta df482d3af7 v9.0.2
2020-10-16 00:01:48 -04:00
..
lib fix: while validating for offset, check for offset's value for NaN instead length (#2124) 2020-08-10 20:34:08 -04:00
.npmignore fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
CHANGELOG.md v9.0.2 2020-10-16 00:01:48 -04:00
package-lock.json v9.0.2 2020-10-16 00:01:48 -04:00
package.json v9.0.2 2020-10-16 00:01:48 -04:00
README.md chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00

@serialport/BindingAbstract

This Abstract binding class is the base for all serialport bindings. You wouldn't use this class directly but instead extend it to make a new binding for a different platform or underling technology.

This is currently used for the win32, linux, darwin and mock bindings.

This is how you use it.

class MockBinding extends AbstractBinding {
  constructor(opt) {
    super(opt)
  }
}