MCPcopy Create free account
hub / github.com/dfinity/examples / encode_leb128

Function encode_leb128

rust/basic_bitcoin/src/runes.rs:69–73  ·  view source on GitHub ↗

Encodes a u128 as LEB128 (Little Endian Base 128). The Runes protocol uses LEB128 encoding for all integer values in the runestone to create compact, variable-length representations that minimize transaction size.

(value: u64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

build_etching_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected