[][src]Struct lancelot_flirt::FlirtSignature

pub struct FlirtSignature {
    pub byte_sig: ByteSignature,
    pub size_of_bytes_crc16: u8,
    pub size_of_function: u64,
    // some fields omitted
}

Fields

byte_sig: ByteSignaturesize_of_bytes_crc16: u8

number of bytes passed to the CRC16 checksum

size_of_function: u64

Implementations

impl FlirtSignature[src]

pub fn create_matcher(&self) -> FlirtSignatureMatcher<'_>[src]

pub fn get_name(&self) -> Option<&str>[src]

pub fn match_crc16(&self, buf: &[u8]) -> bool[src]

pub fn match_tail_bytes(&self, buf: &[u8]) -> bool[src]

return true if all tail bytes match (if there are any).

Trait Implementations

impl Debug for FlirtSignature[src]

impl Display for FlirtSignature[src]

impl<'_> Into<Pattern> for &'_ FlirtSignature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.