MySQL 8.0.40
Source Code Documentation
|
WKB parser, designed to traverse through WKB data from beginning of the buffer towards the end using a set of scan_xxx(), get_xxx() and skip_xxx() routines, with safety tests to avoid going beyond the buffer end. More...
#include <spatial.h>
Public Member Functions | |
wkb_parser (const char *data, const char *data_end) | |
void | skip_unsafe (size_t nbytes) |
bool | skip (size_t nbytes) |
bool | skip_wkb_header () |
bool | skip_coord () |
bool | scan_wkb_header (wkb_header *header) |
bool | scan_uint4 (uint32 *number) |
bool | scan_non_zero_uint4 (uint32 *number) |
bool | scan_n_points_and_check_data (uint32 *n_points, uint32 extra_point_space=0) |
void | scan_xy_unsafe (point_xy *p) |
bool | scan_xy (point_xy *p) |
bool | scan_coord (double *x) |
Public Member Functions inherited from Geometry::wkb_container | |
wkb_container ()=default | |
wkb_container (const char *data, const char *data_end) | |
void | set (const char *data, const char *data_end) |
const char * | data () const |
const char * | data_end () const |
uint32 | length () const |
bool | no_data (size_t data_amount) const |
Check if there's enough data remaining as requested. More... | |
bool | not_enough_points (uint32 expected_points, uint32 extra_point_space=0) const |
Check if there're enough points remaining as requested. More... | |
Private Member Functions | |
void | get_uint4 (uint32 *number) |
void | get_float8 (double *x) |
Additional Inherited Members | |
Protected Attributes inherited from Geometry::wkb_container | |
const char * | m_data |
const char * | m_data_end |
WKB parser, designed to traverse through WKB data from beginning of the buffer towards the end using a set of scan_xxx(), get_xxx() and skip_xxx() routines, with safety tests to avoid going beyond the buffer end.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |