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

Method code

features/support/fbresult_generated.js:258–261  ·  view source on GitHub ↗
(optionalEncoding)

Source from the content-addressed store, hash-verified

256 return (obj || new _Error()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
257 }
258 code(optionalEncoding) {
259 const offset = this.bb.__offset(this.bb_pos, 4);
260 return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
261 }
262 message(optionalEncoding) {
263 const offset = this.bb.__offset(this.bb_pos, 6);
264 return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;

Callers 3

mainFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
ParseResultFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected