🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

aligned-block-file

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aligned-block-file - npm Package Compare versions

Comparing version

to
1.1.1

.npmignore

2

package.json
{
"name": "aligned-block-file",
"description": "",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/flumedb/aligned-block-file",

@@ -6,0 +6,0 @@ "repository": {

@@ -25,2 +25,13 @@ # aligned-block-file

### abf.readUInt48BE (start, cb)
read a UInt48BE from the file. (`cb` may be sync, if the buffer is already in cache)
### abf.readUInt64BE (start, cb)
read a UInt64BE from the file, since javascript numbers are restricted to double
this will only set the first 53 bits. Take care with your 53 bit int! if you use bitwise
operations it will collapse back to 32 bit, you need to use `*2` instead of `<< 1`, etc.
(`cb` may be sync, if the buffer is already in cache)
### abf.size

@@ -27,0 +38,0 @@