writeInt64 method

void writeInt64(
  1. int value
)

Implementation

void writeInt64(int value) {
  if (useFixnum) {
    var d64 = Int64(value);
    byteList.setRange(offset, offset + 8, d64.toBytes());
  } else {
    byteArray.setInt64(offset, value, Endian.little);
  }
  offset += 8;
}