linux-device
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "linux-device", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Native addon to communicate with linux devices (can also be used for sockets or FIFOs)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,3 @@ # node-linux-device | ||
**new DeviceHandle(String path, Boolean enableWrite, Number objectSize, Function callback(Error err, Buffer data) )** | ||
**new DeviceHandle(String path, Boolean enableWrite, Number objectSize, [Number minimalObjectSize,] Function callback(Error err, Buffer data) )** | ||
@@ -24,3 +24,4 @@ Creates a new DeviceHandle instance. | ||
- `enableWrite` True if file should be opened in write mode | ||
- `objectSize` Desired size in bytes for each callback event | ||
- `objectSize` Maximal size in bytes for each callback event | ||
- `minimalObjectSize` Minimal size in bytes for each callback event (defaults to ObjectSize) | ||
- `callback(Error err, Buffer data)` Callback function that is invoked whenever data of `objectSize` is available. | ||
@@ -27,0 +28,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16723
116