# `./fio-stl/002 crc32.h`

1 public symbols.

### Functions

#### `fio_crc32`

```c
uint32_t fio_crc32(const void *data, size_t len, uint32_t initial_crc)
```

Computes CRC32 (ITU-T V.42 / ISO 3309 / gzip polynomial 0xEDB88320).

`data`        - pointer to input bytes.
`len`         - number of bytes to process.
`initial_crc` - pass 0 for a new computation, or a previous return value
                to continue an incremental CRC32 over multiple buffers.

Returns the CRC32 checksum.

Uses slicing-by-16 internally (~8-16x faster than byte-at-a-time).

_Symbol type:_ `function`

-----------------------------------------------------
