| 376 | return (hdr.nMessageSize == nDataPos); |
| 377 | } |
| 378 | void SetVersion(int nVersionIn) override |
| 379 | { |
| 380 | hdrbuf.SetVersion(nVersionIn); |
| 381 | vRecv.SetVersion(nVersionIn); |
| 382 | } |
| 383 | int Read(Span<const uint8_t>& msg_bytes) override |
| 384 | { |
| 385 | int ret = in_data ? readData(msg_bytes) : readHeader(msg_bytes); |
nothing calls this directly
no test coverage detected