getDateTime method
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 int offset,
[final Endian endian = Endian.little]) {
return DateTime.fromMicrosecondsSinceEpoch(getInt64(offset, endian));
}