binary.stride()
Reports element spacing.
Signature
binary.stride(value_or_descriptor)
Parameters
Packed value or supported descriptor/layout.
Returns
Stride in bytes including trailing padding.
Behavior
Uses one packed array element's layout size.
Errors
Invalid descriptor or record layout.
Example
use binary
assert(binary.stride(create(f64, 3)) == 8)