Skip to content

Commit

Permalink
README: update read_car signature, bytes CIDs instead of str
Browse files Browse the repository at this point in the history
for v2.0.0
  • Loading branch information
snarfed committed Sep 9, 2024
1 parent 7f02de7 commit 563aeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ print(libipld.encode_multibase('u', b'yes mani !'))
- Encode CID (`encode_cid(bytes) -> str`). Encodes CID raw byte form to stringified form.
- Decode Multibase (`decode_multibase(str) -> tuple[str, bytes]`). Returns base and data.
- Encode Multibase (`encode_multibase(str, bytes) -> str`). Accepts base and data.
- Decode CAR (`decode_car(bytes) -> tuple[dict, dict[str, dict]]`). Returns a header and blocks mapped by CID. CIDs in raw byte form.
- Decode CAR (`decode_car(bytes) -> tuple[dict, dict[bytes, dict]]`). Returns a header and blocks mapped by CID. CIDs in raw byte form.

Note: stub file will be provided in the future.

Expand Down

0 comments on commit 563aeb8

Please sign in to comment.