arangod/VocBase/vocbase.cpp
/// encodes the uint64_t timestamp into the provided result buffer
/// the result buffer must be at least 11 chars long
/// the length of the encoded value and the start position into
/// the result buffer are returned by the function
encodes the uint64_t timestamp into the provided result buffer
the result buffer must be at least 11 chars long
the length of the encoded value and the start position into
the result buffer are returned by the function
encodes the uint64_t timestamp into the provided result buffer the result buffer must be at least 11 chars long the length of the encoded value and the start position into the result buffer are returned by the function
std::pair<size_t, size_t> TRI_RidToString(TRI_voc_rid_t rid, char* result) {
  if (rid <= tickLimit) {
    std::pair<size_t, size_t> pos{0, 0};
    pos.second = arangodb::basics::StringUtils::itoa(rid, result);
    return pos;
  }
  return HybridLogicalClock::encodeTimeStamp(rid, result);
}
std :: pair < size_t , size_t > TRI_RidToString ( TRI_voc_rid_t rid , char * result ) { if ( rid <= tickLimit ) { std :: pair < size_t , size_t > pos { 0 , 0 } ; pos . second = arangodb :: basics :: StringUtils :: itoa ( rid , result ) ; return pos ; } return HybridLogicalClock :: encodeTimeStamp ( rid , result ) ; }
encodes the uint64_t timestamp into the provided result buffer
the result buffer must be at least 11 chars long
the length of the encoded value and the start position into
the result buffer are returned by the function
encodes the uint64_t timestamp into the provided result buffer the result buffer must be at least 11 chars long the length of the encoded value and the start position into the result buffer are returned by the function