8000 docs/library/binascii: Add docs for binascii.crc32 method. · micropython/micropython@406bccc · GitHub
[go: up one dir, main page]

Skip to content

Commit 406bccc

Browse files
AmirHmZzdpgeorge
authored andcommitted
docs/library/binascii: Add docs for binascii.crc32 method.
Signed-off-by: Amirreza Hamzavi <amirrezahamzavi2000@gmail.com>
1 parent 2e796d6 commit 406bccc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/library/binascii.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ Fun 62CB ctions
3636
Encode binary data in base64 format, as in `RFC 3548
3737
<https://tools.ietf.org/html/rfc3548.html>`_. Returns the encoded data
3838
followed by a newline character if newline is true, as a bytes object.
39+
40+
.. function:: crc32(data, [value])
41+
42+
Compute CRC-32, the 32-bit checksum of *data*, starting with an initial CRC
43+
of *value*. The default initial CRC is zero. The algorithm is consistent
44+
with the ZIP file checksum.

0 commit comments

Comments
 (0)
0