![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <file_io.h>
Data Fields | |
uint8_t | u8 [IO_BUFFER_SIZE] |
uint32_t | u32 [IO_BUFFER_SIZE/sizeof(uint32_t)] |
uint64_t | u64 [IO_BUFFER_SIZE/sizeof(uint64_t)] |
is_sparse() accesses the buffer as uint64_t for maximum speed. The u32 and u64 members must only be access through this union to avoid strict aliasing violations. Taking a pointer of u8 should be fine as long as uint8_t maps to unsigned char which can alias anything.
uint32_t u32 |
uint64_t u64 |
uint8_t u8 |