core/entries/index.js
//update one entry (only in memory)
update one entry (only in memory)
update one entry ( only in memory )
static updateEntry(index, position, entry){
        index.buffer.writeUInt32BE(Number(entry.hash), (position * 20));
        index.buffer.writeUInt32BE(Number(entry.position), (position * 20) + 4);
        index.buffer.writeUInt32BE(Number(entry.page), (position * 20) + 8);
        index.buffer.writeUInt32BE(Number(entry.next), (position * 20) + 12);
        index.buffer.writeUInt32BE(Number(entry.nextPage), (position * 20) + 16);
    }
static updateEntry ( index , position , entry ) { index . buffer . writeUInt32BE ( Number ( entry . hash ) , ( position * 20 ) ) ; index . buffer . writeUInt32BE ( Number ( entry . position ) , ( position * 20 ) + 4 ) ; index . buffer . writeUInt32BE ( Number ( entry . page ) , ( position * 20 ) + 8 ) ; index . buffer . writeUInt32BE ( Number ( entry . next ) , ( position * 20 ) + 12 ) ; index . buffer . writeUInt32BE ( Number ( entry . nextPage ) , ( position * 20 ) + 16 ) ; }
update one entry (only in memory)
update one entry ( only in memory )