bufferfromfile
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "bufferfromfile", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Module in JavaScript providing convenient means for using files as standard ArrayBuffer making mmap behind the scene.", |
# BufferFromFile | ||
Module in JavaScript providing convenient means for using files as buffer making mmap behind the scene. | ||
BufferFromFile use mmap to map file from hard drive to memory returning ArrayBuffer or TypedBuffer which can be manipulated just like ordinary buffer. | ||
BufferFromFile uses mmap to map file from hard drive to memory returning ArrayBuffer or TypedBuffer which can be manipulated just like ordinary buffer. | ||
mmap() creates a new mapping in the virtual address space of the calling process. | ||
During mmap operation all performance issues addressed operation system, so it's nearly fastest way to get data from / store on hard drive with zero copy. | ||
Just like [native](http://man7.org/linux/man-pages/man2/mmap.2.html) version of the routine BufferFromFile can accept ( protection ), ( flags ), ( offset ), ( size ) and even ( advise ) parameters. | ||
BufferFromFIle works on Windows, OsX, Lynux other Unix-like systems. | ||
Does not depend of NaN and does not support deprecated versions of Nodejs. | ||
During mmap operation all performance issues addressed operation system, so it's nearly fastest way to get data from / store on hard drive in Java Script. This method of data access do zero copy, unlike others. | ||
Just like [native](http://man7.org/linux/man-pages/man2/mmap.2.html) version of the routine BufferFromFile can accept ( protection ), ( flags ), ( offset ), ( size ) and even ( advise ) parameters each of which has default value. | ||
BufferFromFIle works on Windows, OSX, Lynux other Unix-like systems. | ||
This module doesn't depend of NaN and deprecated versions of Nodejs. | ||
@@ -11,0 +11,0 @@ ### Usage: |
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
97766
54
133