Tankōbon / main/services/cbr-archive / exactArrayBuffer
Function: exactArrayBuffer()
exactArrayBuffer(
file):ArrayBuffer
Defined in: main/services/cbr-archive.ts:18
The bytes of file as an ArrayBuffer of exactly its length, without copying them when readFile gave a buffer of its own (a copy doubles the memory of a CBR, which is held whole while the book is open).
Parameters
file
Buffer
Returns
ArrayBuffer