updateCache method

void updateCache(
  1. dynamic data
)

Implementation

void updateCache(data) {
  final cache = this.cache;

  // if ( data is Float32Array && cache.length != data.length ) {
  //   this.cache = Float32Array( data.length );
  // }

  copyArray(cache, data);
}