Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wa.picotech.app/public_html/node_modules/music-metadata/lib/musepack/sv7/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BitReader = void 0;
const Token = require("token-types");
class BitReader {
constructor(tokenizer) {
this.tokenizer = tokenizer;
this.pos = 0;
this.dword = undefined;
}
/**
*
* @param bits 1..30 bits
*/
async read(bits) {
while (this.dword === undefined) {
this.dword = await this.tokenizer.readToken(Token.UINT32_LE);
}
let out = this.dword;
this.pos += bits;
if (this.pos < 32) {
out >>>= (32 - this.pos);
return out & ((1 << bits) - 1);
}
else {
this.pos -= 32;
if (this.pos === 0) {
this.dword = undefined;
return out & ((1 << bits) - 1);
}
else {
this.dword = await this.tokenizer.readToken(Token.UINT32_LE);
if (this.pos) {
out <<= this.pos;
out |= this.dword >>> (32 - this.pos);
}
return out & ((1 << bits) - 1);
}
}
}
async ignore(bits) {
if (this.pos > 0) {
const remaining = 32 - this.pos;
this.dword = undefined;
bits -= remaining;
this.pos = 0;
}
const remainder = bits % 32;
const numOfWords = (bits - remainder) / 32;
await this.tokenizer.ignore(numOfWords * 4);
return this.read(remainder);
}
}
exports.BitReader = BitReader;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]-- |