We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a857fc2 commit a082222Copy full SHA for a082222
src/zarr/abc/numcodec.py
@@ -13,6 +13,20 @@ class Numcodec(Protocol):
13
codec_id: str
14
15
def encode(self, buf: Any) -> Any: ...
16
+ """Encode data in `buf`.
17
+
18
+ Parameters
19
+ ----------
20
+ buf
21
+ Data to be encoded. May be any object supporting the new-style
22
+ buffer protocol.
23
24
+ Returns
25
+ -------
26
+ enc
27
+ Encoded data. May be any object supporting the new-style buffer
28
+ protocol.
29
+ """
30
31
def decode(self, buf: Any, out: Any | None = None) -> Any: ...
32
"""
0 commit comments