Boost logo

Boost Users :

Subject: [Boost-users] [Test] using output_test_stream to compare in the middle of a file
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2013-07-26 08:04:54


Hi,

We need to test a function which reads a "record" from a binary file. We
want to compare the buffer with the "record" in input file.We know the
offset of the record in input file. How can we compare the
output_test_stream with a certain offset (and length) of the file? or is
there any alternative for this?

Thanks,
  Lloyd



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net