struct
C0::Table
- C0::Table
- Struct
- Value
- Object
Overview
Zero-copy accessor for a tabular C0DATA group.
Scans the buffer once to index record positions, then provides O(1) access to records and fields as slices into the original buffer.
Defined in:
c0/table.crConstructors
Instance Method Summary
-
#each_record(& : Record -> ) : Nil
Iterate all records.
-
#header(i : Int32) : Bytes
Header field name by index.
-
#header_count : Int32
Number of header fields.
-
#headers : Array(Bytes)
All header names.
-
#name : Bytes
Group/table name as a slice into the buffer.
-
#record(i : Int32) : Record
Access a record by index.
-
#record_count : Int32
Number of records.