Uint8Array.prototype.slice = Uint8Array.prototype.slice || function(a, b) {
    return new Uint8Array(Array.from(this).slice(a, b));
};