Skip to content

Commit 2dd657d

Browse files
authored
Update decode_car signature, bytes CIDs instead of str in README (#49)
1 parent 7f02de7 commit 2dd657d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ print(libipld.encode_multibase('u', b'yes mani !'))
3434
- Encode CID (`encode_cid(bytes) -> str`). Encodes CID raw byte form to stringified form.
3535
- Decode Multibase (`decode_multibase(str) -> tuple[str, bytes]`). Returns base and data.
3636
- Encode Multibase (`encode_multibase(str, bytes) -> str`). Accepts base and data.
37-
- Decode CAR (`decode_car(bytes) -> tuple[dict, dict[str, dict]]`). Returns a header and blocks mapped by CID. CIDs in raw byte form.
37+
- Decode CAR (`decode_car(bytes) -> tuple[dict, dict[bytes, dict]]`). Returns a header and blocks mapped by CID. CIDs in raw byte form.
3838

3939
Note: stub file will be provided in the future.
4040

0 commit comments

Comments
 (0)