Commit Graph

3 Commits

Author SHA1 Message Date
Jake Mercer 57d8a3a6bd SEGBITS FILE READER - Handle Whitespace
The previous commit caused the segbits file reader test to fail as
trailing whitespace was removed from the test_data.  Updated the reader
to additionally handle a tag immediately followed by a newline.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-22 19:35:24 +01:00
Rick Altherr 50d2521b33 Apply clang-format to all C++ files
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-08 17:14:27 -08:00
Rick Altherr 3e203b956b lib: Reader for segbits files
Acts as an iterator that yields a single record from the file.  Uses a
memory-mapped file and absl::string_view to avoid copies within the
reader.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00