pub fn length(&self) -> usize {
        match self {
            DetectedMetadata::Keccak256 => 32,
            DetectedMetadata::Cbor {
                full_length,
                metadata: _,
            } => *full_length,
        }
    }
Returns full length (in bytes) of metadata in the bytecode.
core/lib/types/src/contract_verification/contract_identifier.rs