| 23 | #include "flow/UnitTest.h" |
| 24 | |
| 25 | _AssumeVersion::_AssumeVersion(ProtocolVersion version) : v(version) { |
| 26 | if (!version.isValid()) { |
| 27 | ASSERT(!g_network->isSimulated()); |
| 28 | TraceEvent("SerializationFailed").backtrace(); |
| 29 | throw serialization_failed(); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | const void* BinaryReader::readBytes(int bytes) { |
| 34 | const char* b = begin; |
nothing calls this directly
no test coverage detected