Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 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/libsignal/src/ drwxr-xr-x |
Viewing file: Select action/file-type: // vim: ts=4:sw=4:expandtab class ProtocolAddress { static from(encodedAddress) { if (typeof encodedAddress !== 'string' || !encodedAddress.match(/.*\.\d+/)) { throw new Error('Invalid address encoding'); } const parts = encodedAddress.split('.'); return new this(parts[0], parseInt(parts[1])); } constructor(id, deviceId) { if (typeof id !== 'string') { throw new TypeError('id required for addr'); } if (id.indexOf('.') !== -1) { throw new TypeError('encoded addr detected'); } this.id = id; if (typeof deviceId !== 'number') { throw new TypeError('number required for deviceId'); } this.deviceId = deviceId; } toString() { return `${this.id}.${this.deviceId}`; } is(other) { if (!(other instanceof ProtocolAddress)) { return false; } return other.id === this.id && other.deviceId === this.deviceId; } } module.exports = ProtocolAddress; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]-- |