miniproto_native::tl::tl_decode_double
Provenance
Section titled “Provenance”- Rust visibility:
restricted - Source:
rust/miniproto/src/tl.rs - Python exposure:
miniproto._native.tl_decode_double(confirmed from adjacent PyO3 attributes)
Signature
Section titled “Signature”fn tl_decode_double(data: &[u8], offset: i128) -> _Arguments
Section titled “Arguments”data: TL bytes containing an eight-byte double.offset: Byte offset at which the double starts.
tl_decode_double
Section titled “tl_decode_double”fn tl_decode_double(data: &[u8], offset: i128) -> PyResult<(f64, usize)>Defined in rust/miniproto/src/tl.rs:661-665
Decodes Python tl_decode_double(data, offset) and returns (value, next_offset) or ValueError.
Arguments
Section titled “Arguments”data: TL bytes containing an eight-byte double.offset: Byte offset at which the double starts.