C Structure Sequence Sample

samples/native/sequences/struct demonstrates persistent sequences whose elements are a fixed schema structure or a fixed-width char<N> value. It searches an ordered day field and projects the resulting positions onto the structure and character fields.

Run

    target/bin/sequences-struct

The automated sample test runs this program with both plain and RLE sequence libraries. Structure and character elements are fixed-size records; character payloads are not required to be null-terminated strings.

See Fixed-Width Character Sequences for the C buffer and iterator rules.