setDateTime method
Writes a DateTime to the buffer as an i64.
The offset must satisy the relations 0 ≤ offset ≤ offset+8 ≤ this.length.
Implementation
void setDateTime(
final DateTime value,
final int offset, [
final Endian endian = Endian.little,
]) {
return setInt64(value.microsecondsSinceEpoch, offset, endian);
}