mgpuWriteInt8 function
Writes size (0: the whole list) elements from the front of inputData,
whatever its list type; see _writeSync.
Implementation
void mgpuWriteInt8(MGPUBuffer buffer, TypedData inputData, int size) =>
_writeSync((b, p, n) => _mgpuWriteInt8(b, p, n), buffer, inputData, 1,
size);