block-cache is a transparent(ish) cache that keeps data split in blocks in an in-memory lru-cache. This is useful if you want to process a file, reusing previously downloaded parts and improving the general performance without caching more than your given memory limit.
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
`.createReadStream`](#cache.createReadStream) methods instead. - `cache` is the [`Cache`](#Cache) instance to use. - `path` is the path of the file to read. - `opts.blkSize` is the block size for each block to be cached. Defaults to the `opts.blkSize` defined in the `Cache`. (integer). --- <a name="cachedFile.close"></a> ```javascript cachedFile.close([cb]) ``` Closes a created file pointer reference. After closing, future requests on the `CachedFile` will result in an `err.code === 'ERR_CLOSED` error. - `cb(Error)` is an optional async callback handler method. The method will return a `Promise` if the callback is not defined. --- <a name="cachedFile.read"></a> ```javascript cachedFile.read([buffer, offset, length, position, cb]) ``` Reads the content of an opened file into a given buffer. - `buffer` is a [`Buffer`](https://nodejs.org/api/buffer.html) instance to write into. Unlike the Node API, this is optional which means that the reader will create a buffer instance if `null` or `undefined` is passed