Skip to main content

strip_bytes

Function strip_bytes 

Source
pub fn strip_bytes(data: &[u8]) -> &[u8] 
Expand description

Strip NanoSign signature from in-memory bytes. Returns payload without the 36-byte tail. If unsigned, returns the data unchanged.