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 dba39f5 commit a857fc2Copy full SHA for a857fc2
src/zarr/abc/numcodec.py
@@ -15,6 +15,24 @@ class Numcodec(Protocol):
15
def encode(self, buf: Any) -> Any: ...
16
17
def decode(self, buf: Any, out: Any | None = None) -> Any: ...
18
+ """
19
+ Decode data in `buf`.
20
+
21
+ Parameters
22
+ ----------
23
+ buf : Any
24
+ Encoded data. May be any object supporting the new-style buffer
25
+ protocol.
26
+ out : Any
27
+ Writeable buffer to store decoded data. N.B. if provided, this buffer must
28
+ be exactly the right size to store the decoded data.
29
30
+ Returns
31
+ -------
32
+ dec : Any
33
+ Decoded data. May be any object supporting the new-style
34
+ buffer protocol.
35
36
37
def get_config(self) -> Any: ...
38
0 commit comments