readTimestamp method

DateTime? readTimestamp()

Implementation

DateTime? readTimestamp() {
  int value = readUInt64();
  return value > 0 ? DateTime.fromMillisecondsSinceEpoch(value * 1000) : null;
}