osrm-backend/include/engine
Daniel J. Hofmann 0f0db4c823 Provide correct Base64 implementation.
Phew, this was painful. Turns out most hints out there on how to use the
Boost serialization iterators are wrong. Here's why:

    transform_width<6, 8>

needs an input stream of length: common multiple of 6 and 8.

That is, the padding needs to happen _before_ using the provided
iterators, otherwise the behavior is undefined!

See: http://www.boost.org/doc/libs/1_60_0/boost/archive/iterators/transform_width.hpp

Thanks @mokob for pointing that out to me!

We also need to manually add as many padding chars "=" to the encoded
result as many bytes we had to append to the input to conform to the
rule above.

Decoding then knows the number of padding chars by counting for "=" and
then using it in order to split off the last bytes from the decoded
result.
2016-04-05 22:58:32 +02:00
..
api syncronize geometry and steps after post-processing 2016-04-05 22:58:32 +02:00
datafacade Simplify the timestamp handling 2016-04-05 22:58:32 +02:00
guidance syncronize geometry and steps after post-processing 2016-04-05 22:58:32 +02:00
map_matching Runs scripts/format.sh 2016-04-05 22:58:32 +02:00
plugins Object Encoder -> Base64, kill false dependencies while doing so 2016-04-05 22:58:32 +02:00
routing_algorithms post processing moved onto route-steps, looses sync with geometry segments 2016-04-05 22:58:32 +02:00
trip Add trip plugin 2016-04-05 22:58:32 +02:00
base64.hpp Provide correct Base64 implementation. 2016-04-05 22:58:32 +02:00
bearing.hpp Adds the license preamble for all publicly installed eaders, closes #2036 2016-04-05 22:58:32 +02:00
douglas_peucker.hpp First round of lat,lng -> lng,lat switcheroo 2016-04-05 22:58:32 +02:00
engine_config.hpp Only allow to specify the common base path 2016-04-05 22:58:32 +02:00
engine.hpp Preliminary integration of the tile plugin 2016-04-05 22:58:32 +02:00
geospatial_query.hpp implements relative position feature based on coordinates 2016-04-05 22:58:32 +02:00
hint.hpp Makes hint Equatable and Printable for tests 2016-04-05 22:58:32 +02:00
internal_route_result.hpp post processing moved onto route-steps, looses sync with geometry segments 2016-04-05 22:58:32 +02:00
phantom_node.hpp Fix hint size 2016-04-05 22:58:32 +02:00
polyline_compressor.hpp advanced guidance on 5.0 2016-04-05 22:58:32 +02:00
search_engine_data.hpp Run clang-format 2016-01-08 01:31:57 +01:00
status.hpp Adds the license preamble for all publicly installed eaders, closes #2036 2016-04-05 22:58:32 +02:00