R/00-types.R
ffi_packed_offset.Rd
Computes the byte offset of a field using packed alignment rules. This is used internally when a struct has a pack parameter set. Uses C implementation for accurate compiler-matching behavior.
ffi_packed_offset(struct_type, field_index)
StructType object with pack property set
Integer field index (1-based)
Integer byte offset