struct
C0::Group
- C0::Group
- Struct
- Value
- Object
Overview
A group within a document. Can be accessed as a Table or iterated for document-mode content.
Defined in:
c0/document.crConstructors
Instance Method Summary
-
#each_record(& : Record -> ) : Nil
Iterate records directly (convenience for key-value groups).
-
#has_header? : Bool
Check if this group has an SOH header.
-
#name : Bytes
Group name.
-
#raw : Bytes
Raw bytes of this group.
-
#record(i : Int32) : Record
Access record by index.
-
#record_count : Int32
Number of records.
-
#table : Table
Access as a Table (for tabular/key-value data).
Constructor Detail
Instance Method Detail
Iterate records directly (convenience for key-value groups).