Skip to content

miniproto_native::tl::tl_encode_int

  • Crate: miniproto_native
  • Rust visibility: restricted
  • Source: rust/miniproto/src/tl.rs
  • Python exposure: miniproto._native.tl_encode_int (confirmed from adjacent PyO3 attributes)
fn tl_encode_int(value: i32) -> _
  • value: Signed 32-bit integer to serialize.
fn tl_encode_int(value: i32) -> Vec<u8>

Defined in rust/miniproto/src/tl.rs:504-506

Encodes Python tl_encode_int(value) as a four-byte little-endian signed integer.

  • value: Signed 32-bit integer to serialize.