binkit 0.1.1

A modular toolbox for analyzing, disassembling, and patching binary formats
Documentation
1
2
3
4
5
6
7
8
use crate::utils::endian::Endian;

pub trait HeaderField {
    type Value;

    fn describe(&self, endian: &Endian) -> String;
    fn value(&self, endian: &Endian) -> Self::Value;
}