miniproto_native::tl::tl_decode_long
Provenance
Section titled “Provenance”- Crate:
miniproto_native - Rust visibility:
restricted - Source:
rust/miniproto/src/tl.rs - Python exposure:
miniproto._native.tl_decode_long(confirmed from adjacent PyO3 attributes)
Signature
Section titled “Signature”fn tl_decode_long(data: &[u8], offset: usize) -> _Arguments
Section titled “Arguments”data: TL bytes containing an eight-byte signed integer.offset: Byte offset at which the integer starts.
cargo-docs-md rendering
Section titled “cargo-docs-md rendering”tl_decode_long
Section titled “tl_decode_long”fn tl_decode_long(data: &[u8], offset: usize) -> PyResult<(i64, usize)>Defined in rust/miniproto/src/tl.rs:559-562
Decodes Python tl_decode_long(data, offset) and returns (value, next_offset) or ValueError.
Arguments
Section titled “Arguments”data: TL bytes containing an eight-byte signed integer.offset: Byte offset at which the integer starts.