()
| 415 | } |
| 416 | |
| 417 | private handleInitHeaderKey(): void { |
| 418 | const remoteKey = Uint8ArrayToString( |
| 419 | this.readFromBuffer(this.remoteKeyLength) |
| 420 | ); |
| 421 | assert(this.pendingBytes === 0); |
| 422 | this.requestBytes(SizeOf.I64); |
| 423 | this.state = RPCServerState.ReceivePacketHeader; |
| 424 | } |
| 425 | |
| 426 | private checkLittleEndian(): void { |
| 427 | const a = new ArrayBuffer(4); |
no test coverage detected