bytecmp 0.5.1

bytecmp offers fast binary data comparison algorithms to enumerate common substrings, unique substrings or determine a patch set
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::fmt;

#[derive(Debug)]
pub enum AlgoSpecError {
    UnsupportedSize(usize),
}

impl fmt::Display for AlgoSpecError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match self {
            AlgoSpecError::UnsupportedSize(size) => write!(f, "Unsupported size: {}", size),
        }
    }
}