pub fn calculate_diff(
    foreign_signature: &Signature,
    object_bytes: &[u8],
    out: &mut Vec<u8>
) -> Result<(), ()>