Registry / serialization / spl-type-length-value

spl-type-length-value

JSON →
library0.9.1rscratesunverified

Solana Program Library Type-Length-Value management for on-chain data encoding.

# Cargo.toml [dependencies] spl-type-length-value = "0.9.1"
INSTALL
IMPORT
SIG · SPL-TYPE-LENGTH-VA
S
spl-type-length-value
serializationrustv0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_packed_len
use spl_type_length_value::get_packed_len;

Gets the packed length of a type.

use spl_type_length_value::get_packed_len; fn main() { let len = get_packed_len::<u64>(); println!("Packed length: {}", len); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
spl-type-length-value — cargo add spl-type-length-value · libregistry