Docs.rs
  • snarkvm-console-algorithms-4.1.0
    • snarkvm-console-algorithms 4.1.0
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • howardwu
    • Dependencies
      • blake2s_simd ^1.0 normal
      • smallvec ^1.14 normal
      • snarkvm-console-types =4.1.0 normal
      • snarkvm-fields =4.1.0 normal
      • snarkvm-utilities =4.1.0 normal
      • tiny-keccak ^2 normal
      • criterion ^0.5.1 dev
      • expect-test ^1.4.1 dev
      • hex ^0.4.3 dev
      • serde ^1.0.188 dev
      • serde_json ^1.0 dev
      • snarkvm-curves =4.1.0 dev
    • Versions
    • 83.33% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

snarkvm_console_algorithms4.1.0

Module variable_length

Module Items

  • Functions

In crate snarkvm_console_algorithms

snarkvm_console_algorithms

Module variable_length

Source

Functionsยง

read_variable_length_integer
Decode the value of a variable length integer. https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer
variable_length_integer
Returns the variable length integer of the given value. https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer