MCPcopy Index your code
hub / github.com/Textualize/textual / decode_list

Function decode_list

src/textual/_binary_encode.py:264–275  ·  view source on GitHub ↗

Decode a list. Returns: A list of data.

()

Source from the content-addressed store, hash-verified

262 return decoded_string
263
264 def decode_list() -> list[object]:
265 """Decode a list.
266
267 Returns:
268 A list of data.
269 """
270 elements: list[object] = []
271 add_element = elements.append
272 while peek_byte() != b"e":
273 add_element(decode())
274 get_byte()
275 return elements
276
277 def decode_tuple() -> tuple[object, ...]:
278 """Decode a tuple.

Callers

nothing calls this directly

Calls 3

peek_byteFunction · 0.85
decodeFunction · 0.85
get_byteFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…