pub struct Note<'data, Elf> where
    Elf: FileHeader
{ /* private fields */ }
Expand description

A parsed NoteHeader.

Implementations

Return the n_type field of the NoteHeader.

The meaning of this field is determined by name.

Return the n_namesz field of the NoteHeader.

Return the n_descsz field of the NoteHeader.

Return the bytes for the name field following the NoteHeader, excluding any null terminator.

This field is usually a string including a null terminator (but it is not required to be).

The length of this field (including any null terminator) is given by n_namesz.

Return the bytes for the desc field following the NoteHeader.

The length of this field is given by n_descsz. The meaning of this field is determined by name and n_type.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.