(fragment)
| 18032 | return callback(); |
| 18033 | } |
| 18034 | const buffer = this.consume(8); |
| 18035 | const upper = buffer.readUInt32BE(0); |
| 18036 | const lower = buffer.readUInt32BE(4); |
| 18037 | if (upper !== 0 || lower > __pow(2, 31) - 1) { |
| 18038 | failWebsocketConnection(this.ws, "Received payload length > 2^31 bytes."); |
| 18039 | return; |
| 18040 | } |
| 18041 | __privateGet(this, _info).payloadLength = lower; |
| 18042 | __privateSet(this, _state, parserStates.READ_DATA); |
| 18043 | if (!__privateMethod(this, _validatePayloadLength, validatePayloadLength_fn).call(this)) { |
| 18044 | return; |
| 18045 | } |
no test coverage detected