mgpuWriteInt8 function

void mgpuWriteInt8(
  1. MGPUBuffer buffer,
  2. TypedData inputData,
  3. int size
)

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);