Skip to main content

decode_secret_key_list

Function decode_secret_key_list 

Source
pub fn decode_secret_key_list(buf: &[u8]) -> Vec<Vec<u8>>
Expand description

Inverse of encode_secret_key_list. A truncated trailing record (which can only happen if the buffer was clipped mid-record) is dropped rather than panicking, so a short read degrades to “fewer keys” instead of a trap.