find_metadata_start

Function find_metadata_start 

Source
pub fn find_metadata_start(bytecode: &[u8]) -> Option<usize>
Expand description

Utility function to find the start of the metadata in the bytecode. This assumes that the metadata is at the end of the bytecode.