Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Oct 22, 2024
1 parent e8e9f3f commit 9f8a167
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions license.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,13 @@ export class Session {
return forge.random.getBytesSync(16)
}

_intToUint8Array(num) {
const buffer = new ArrayBuffer(4);
const view = new DataView(buffer);
view.setUint32(0, num, false);
return new Uint8Array(buffer);
}

getPSSH() {
const dataLength = this._pssh.length;
const totalLength = dataLength + 32;
Expand Down

0 comments on commit 9f8a167

Please sign in to comment.