Equates the byte arrays `data_a/data_b = ctx.a/b.bytes[range_move(0..len, ctx.curr_offset)]` and advances the offset.
(ctx: &mut EqCtx<'_, '_>, len: usize)
| 221 | /// Equates the byte arrays `data_a/data_b = ctx.a/b.bytes[range_move(0..len, ctx.curr_offset)]` |
| 222 | /// and advances the offset. |
| 223 | fn eq_byte_array(ctx: &mut EqCtx<'_, '_>, len: usize) -> bool { |
| 224 | let data_a = &ctx.a.bytes[range_move(0..len, ctx.curr_offset)]; |
| 225 | let data_b = &ctx.b.bytes[range_move(0..len, ctx.curr_offset)]; |
| 226 | ctx.curr_offset += len; |
| 227 | data_a == data_b |
| 228 | } |
| 229 | |
| 230 | #[cfg(test)] |
| 231 | mod test { |
no test coverage detected
searching dependent graphs…