putInt64 method
Writes eight bytes containing the given long value, in little-endian order.
@param l The long value to be written
Implementation
void putInt64(int num) {
var int64List = Int64List.fromList([num]);
var bytes = int64List.buffer.asUint8List();
putBytes(bytes);
}