function clean(length) {
  const buffer = new Uint8Array(length);
  buffer.fill(0, 0, length - 1);
  return buffer;
}
/**
 * Initialize Uint8Array of the specified length filled with 0
 * @param length
 */
Initialize Uint8Array of the specified length filled with 0
@param length
Initialize Uint8Array of the specified length filled with 0 @param length
function clean(length) {
  const buffer = new Uint8Array(length);
  buffer.fill(0, 0, length - 1);
  return buffer;
}
function clean ( length ) { const buffer = new Uint8Array ( length ) ; buffer . fill ( 0 , 0 , length - 1 ) ; return buffer ; }
Initialize Uint8Array of the specified length filled with 0
 @param length
Initialize Uint8Array of the specified length filled with 0 @param length