From 563aeb8e2f78c15e998d5914299932f89190c33e Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Mon, 9 Sep 2024 14:15:04 -0700 Subject: [PATCH] README: update read_car signature, bytes CIDs instead of str for v2.0.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3047885..41fdd58 100644 --- a/README.md +++ b/README.md @@ -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.