MCPcopy Create free account
hub / github.com/bytedance/bolt / readLosslessTimestamp

Function readLosslessTimestamp

bolt/serializers/PrestoSerializer.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278Timestamp readLosslessTimestamp(ByteInputStream* source) {
279 int64_t seconds = source->read<int64_t>();
280 uint64_t nanos = source->read<uint64_t>();
281 return Timestamp(seconds, nanos);
282}
283
284void readLosslessTimestampValues(
285 ByteInputStream* source,

Callers 1

Calls 1

TimestampClass · 0.50

Tested by

no test coverage detected