[−][src]Macro tcp_test::read_assert
Convenience macro for reading and comparing a specific amount of bytes.
Reads a $n number of bytes from $resource and then compares that buffer with $expected.
Panics if the buffers are not equal.