This commit is contained in:
Diederik Loerakker
2019-10-28 08:29:01 +01:00
committed by GitHub
parent 9582814c62
commit 257fcd9c79

View File

@@ -569,7 +569,7 @@ def int_to_bytes(n: uint64, length: uint64) -> bytes:
```python
def bytes_to_int(data: bytes) -> uint64:
"""
Return the integer deserialization of ``data`` intepretted as ``ENDIANNESS``-endian.
Return the integer deserialization of ``data`` intepreted as ``ENDIANNESS``-endian.
"""
return int.from_bytes(data, ENDIANNESS)
```