MobilityDB 1.1

◆ span_to_wkb_buf()

uint8_t * span_to_wkb_buf ( const Span s,
uint8_t *  buf,
uint8_t  variant 
)

Write into the buffer a span represented in Well-Known Binary (WKB) format as follows.

  • Endian byte
  • Basetype int16
  • Bounds byte stating whether the bounds are inclusive
  • Two base type values