mirror of https://github.com/openXC7/prjxray.git
MemoryMappedFile's data() method returns a void* as it has no idea what type the contents are. Viewing it as bytes is a very common operation so add a convience method that wraps the pointer in a Span<uint8_t>. Signed-off-by: Rick Altherr <kc8apf@kc8apf.net> |
||
|---|---|---|
| .. | ||
| include/prjxray | ||
| test_data | ||
| xilinx/xc7series | ||
| CMakeLists.txt | ||
| big_endian_span_test.cc | ||
| bit_ops_test.cc | ||
| database.cc | ||
| memory_mapped_file.cc | ||
| memory_mapped_file_test.cc | ||
| segbits_file_reader.cc | ||
| segbits_file_reader_test.cc | ||