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> |
||
|---|---|---|
| .. | ||
| prjxray | ||