MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / r2Data

Function r2Data

src/types.cpp:408–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408size_t r2Data(byte* buf, Rational l, ByteOrder byteOrder) {
409 size_t o = l2Data(buf, l.first, byteOrder);
410 o += l2Data(buf + o, l.second, byteOrder);
411 return o;
412}
413
414size_t f2Data(byte* buf, float f, ByteOrder byteOrder) {
415 // This algorithm assumes that the internal representation of the float

Callers 1

toDataFunction · 0.85

Calls 1

l2DataFunction · 0.85

Tested by

no test coverage detected