getDateTime method

DateTime getDateTime()

Reads an i64 from the buffer as an epoch timestamp.

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

Implementation

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