Class: EsriShapefile::RecordHeader
- Inherits:
-
Object
- Object
- EsriShapefile::RecordHeader
- Includes:
- ByteModel
- Defined in:
- lib/esri_shapefile/models/record_header.rb
Overview
The header for each record stores the record number and content length for the record. Record headers have a fixed length of 8 bytes. The list of fields shows the fields in the record header with their byte position, type, and byte order. The field position is with respect to the start of the record.
Instance Attribute Summary
Attributes included from ByteModel
Instance Method Summary collapse
Methods included from ByteModel
Instance Method Details
#content_length_bytes ⇒ Object
23 24 25 |
# File 'lib/esri_shapefile/models/record_header.rb', line 23 def content_length_bytes content_length * 2 end |