pub struct HbinHeader {
pub offset: u32,
pub size: u32,
pub reserved: u64,
pub timestamp: u64,
pub spare: u32,
}Expand description
Hive bin header (32 bytes). Hive bins immediately follow the 4096-byte base block and contain all cells (keys, values, security descriptors, etc.).
Reference: research/regf-binary-format-specification.md Section 2.1
Fields§
§offset: u32Offset of this hbin from the start of hive bins data (NOT file start). First hbin has offset 0.
size: u32Size of this hbin in bytes (including 32-byte header). Always multiple of 4096.
reserved: u64Reserved (8 bytes). Typically zero.
timestamp: u64FILETIME timestamp. Only meaningful for the first hbin.
spare: u32Runtime spare/memory allocation field. No meaning on disk.
Implementations§
Trait Implementations§
Source§impl BinRead for HbinHeader
impl BinRead for HbinHeader
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read
Self from the reader using the given ReadOptions and
arguments.Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments.Source§impl Clone for HbinHeader
impl Clone for HbinHeader
Source§fn clone(&self) -> HbinHeader
fn clone(&self) -> HbinHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HbinHeader
impl RefUnwindSafe for HbinHeader
impl Send for HbinHeader
impl Sync for HbinHeader
impl Unpin for HbinHeader
impl UnsafeUnpin for HbinHeader
impl UnwindSafe for HbinHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more