Memory-map geobuf input instead of reading it into a temporary string

This commit is contained in:
Eric Fischer
2017-08-28 11:30:30 -07:00
parent 5943c82457
commit 7c031a9796
3 changed files with 22 additions and 12 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
#include "mbtiles.hpp"
#include "serial.hpp"
void parse_geobuf(struct serialization_state *sst, std::string const &s, int layer, std::string layername);
void parse_geobuf(struct serialization_state *sst, const char *s, size_t len, int layer, std::string layername);
#endif