C0::Record
Inherits Struct / Value / Object
Zero-copy accessor for a single record within a table. Fields are accessed by index, returning slices into the original buffer.
Constructors
new(buf : Bytes, start : Int32, end __arg0 : Int32)
SourceInstance methods
field(n : Int32) : Bytes
Access field by index. Scans for the Nth US separator. Respects STX/ETX nesting — US inside nested scopes is not a boundary.
field_count
Number of fields in this record. Respects STX/ETX nesting — US inside nested scopes is not counted.
value(n : Int32) : Bytes
Logical bytes of field n: the raw slice with DLE escapes decoded. Zero-copy when the field contains no escapes.