UNPKG

genomic-reader

Version:

A Typescript library for reading BigWig, BigBed, 2bit, and Bam files. Capable of streaming. For use in the browser or on Node.js.

11 lines 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.appendBuffer = void 0; function appendBuffer(buffer1, buffer2) { const tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength); tmp.set(new Uint8Array(buffer1), 0); tmp.set(new Uint8Array(buffer2), buffer1.byteLength); return tmp.buffer; } exports.appendBuffer = appendBuffer; //# sourceMappingURL=misc.js.map