pub fn load_patch_from_mem(
    matrix: &mut Matrix,
    data: &[u8]
) -> Result<(), MatrixDeserError>