aligned-block-file
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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 @@ |
24560
18
59