setDateTime method

void setDateTime(
  1. DateTime value
)

Writes a DateTime to the buffer as an i64.

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

Implementation

void setDateTime(final DateTime value) {
  _increaseCapacity(ByteLength.i64);
  buffer.setDateTime(value, offset);
  offset += ByteLength.i64;
}