diff options
| author | Amirreza Hamzavi <amirrezahamzavi2000@gmail.com> | 2023-11-23 21:43:47 +0330 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-12-03 22:22:55 +1100 |
| commit | 406bccc75307bd09fbf20150a29c587e9f12771b (patch) | |
| tree | 8ae265d4084ece9091a21efe8cce3cc3093c2e01 | |
| parent | 2e796d6c3e33e2d3b1936cd05aa926400ad1d5b7 (diff) | |
docs/library/binascii: Add docs for binascii.crc32 method.
Signed-off-by: Amirreza Hamzavi <amirrezahamzavi2000@gmail.com>
| -rw-r--r-- | docs/library/binascii.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/binascii.rst b/docs/library/binascii.rst index 6c02f019a..c728c5a8a 100644 --- a/docs/library/binascii.rst +++ b/docs/library/binascii.rst @@ -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 if newline is true, as a bytes object. + +.. function:: crc32(data, [value]) + + Compute CRC-32, the 32-bit checksum of *data*, starting with an initial CRC + of *value*. The default initial CRC is zero. The algorithm is consistent + with the ZIP file checksum. |
