getDateTime method

DateTime getDateTime()

Reads an i64 from the buffer as an epoch timestamp.

The offset must satisy the relations 0 ≤ offset ≤ offset+8 ≤ this.length.

Implementation

DateTime getDateTime() {
  final DateTime value = buffer.getDateTime(offset);
  offset += ByteLength.i64;
  return value;
}