Skip to main content

Module offset

Module offset 

Source
Expand description

Offset resolution for magic rule evaluation

This module provides functions for resolving different types of offset specifications into absolute byte positions within file buffers, with proper bounds checking.

Enums§

OffsetError
Error types specific to offset resolution

Functions§

resolve_absolute_offset
Resolve an absolute offset with bounds checking
resolve_offset
Resolve any offset specification to an absolute position