Add binascii crc32 to documentation

This commit is contained in:
Neradoc 2022-03-09 13:24:17 +01:00
parent 6af4c7797c
commit cbcfb8a598
1 changed files with 6 additions and 0 deletions

View File

@ -36,3 +36,9 @@ Functions
Encode binary data in base64 format, as in `RFC 3548
<https://tools.ietf.org/html/rfc3548.html>`_. Returns the encoded data
followed by a newline character, as a bytes object.
.. function:: crc32(data, value=0, /)
Compute CRC-32, the 32-bit checksum of the bytes in *data* starting with an
initial CRC of *value*. The default initial CRC is 0. The algorithm is
consistent with the ZIP file checksum.