bufferSubData method

dynamic bufferSubData(
  1. dynamic target,
  2. dynamic offset,
  3. dynamic data,
  4. dynamic srcOffset,
  5. dynamic length,
)

Implementation

bufferSubData(target, offset, data, srcOffset, length) {
  if (data is NativeArray) {
    bufferSubDataNative(target, offset, data, srcOffset, length);
  } else {
    bufferSubDataNormal(target, offset, data, srcOffset, length);
  }
}