miniproto_native::tl::tl_decode_int_vector
Provenance
Section titled “Provenance”- Crate:
miniproto_native - Rust visibility:
restricted - Source:
rust/miniproto/src/tl.rs - Python exposure:
miniproto._native.tl_decode_int_vector(confirmed from adjacent PyO3 attributes)
Signature
Section titled “Signature”fn tl_decode_int_vector(py: _, data: _, offset: i128) -> _Arguments
Section titled “Arguments”py: The acquired GIL token used to detach large vector decoding.data: TL bytes containing a generic integer vector.offset: Python-facing signed byte offset that must convert tousize.
cargo-docs-md rendering
Section titled “cargo-docs-md rendering”tl_decode_int_vector
Section titled “tl_decode_int_vector”fn tl_decode_int_vector(py: Python<'_>, data: Vec<u8>, offset: i128) -> PyResult<(Vec<i32>, usize)>Defined in rust/miniproto/src/tl.rs:714-722
Decodes Python tl_decode_int_vector(data, offset) into values and a next offset.
The signed Python offset must fit usize; large decoding releases the GIL and malformed input
returns a Python exception.
Arguments
Section titled “Arguments”py: The acquired GIL token used to detach large vector decoding.data: TL bytes containing a generic integer vector.offset: Python-facing signed byte offset that must convert tousize.