toUint64 method

Uint8List toUint64([
  1. Endian endian = Endian.big
])

Returns a Uint8List with the bytes of the integer encoded in endian.

Implementation

Uint8List toUint64([Endian endian = Endian.big]) {
  final result = ByteData(8);
  result.setUint64(0, this, endian);
  return result.buffer.asUint8List();
}