decoder (arr) {
    const dec = new TextDecoder('utf-8');
    return dec.decode(arr);
  }
Decodes an array of 8-bit unsigned integers into text
@param {Array} arr - Uint8Array
@returns {String} - The text represented by the Uint8Array array