Skip to content

Commit af96b87

Browse files
docs: show how to skip checking or calculating crcs
1 parent 9228996 commit af96b87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ print(im[1]) # 2
4343

4444
with open("data.im", "wb") as f:
4545
f.write(im.tobytes())
46+
47+
# You can skip computing or checking CRCs, e.g. if your
48+
# embedded object already contains CRCs
49+
mb = MapBuffer(..., check_crc=False, compute_crc=False)
4650
```
4751

4852
## Installation

0 commit comments

Comments
 (0)