Comparing version 1.0.3 to 1.0.4
@@ -295,2 +295,4 @@ const ref = require("ref-napi"); | ||
from(data, size = -1, deepCopy = false) { | ||
if (!size) return this.allocEmpty(); | ||
let buffer = KLBuffer.parseDataToBuffer(data, size > 0 ? size : this.buffer.length); | ||
@@ -297,0 +299,0 @@ if (!buffer) return; |
{ | ||
"name": "kl-buffer", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Fast write/read Buffer in javascript way", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14283
294