What's the best way to assert equallity between the values of two buffers?