Expand description
Mixed-endianness byte primitives for the Esri Shapefile format.
Shapefiles use big-endian for management fields (file/record lengths, record numbers, byte-counts) and little-endian for data (shape type codes, coordinates, counts). The cursor exposes both flavors so callers never silently mis-read a field.
Lengths are stored in 16-bit words (i.e. bytes / 2). Helpers convert.
Structs§
Functions§
- words_
to_ bytes - Convert a Shapefile 16-bit-word count to bytes.