MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / BufferWriter

Method BufferWriter

include/storage/io.hpp:349–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347{
348 public:
349 BufferWriter() : output_stream(std::ios::binary)
350 {
351 if (!output_stream)
352 {
353 throw util::RuntimeError(
354 "<buffer>", ErrorCode::FileOpenError, SOURCE_REF, std::strerror(errno));
355 }
356 }
357
358 template <typename T> void WriteFrom(const T *src, const std::size_t count)
359 {

Callers

nothing calls this directly

Calls 1

RuntimeErrorClass · 0.85

Tested by

no test coverage detected