static decode(bytes, encoding) {
        const encodingName = this.encodingName(encoding);
        if (this.customDecoder) {
            return this.customDecoder(bytes, encodingName);
        }
        // Increases browser support.
        if (typeof TextDecoder === 'undefined' || this.shouldDecodeOnFallback(encodingName)) {
            return this.decodeFallback(bytes, encodingName);
        }
        return new TextDecoder(encodingName).decode(bytes);
    }
/**
     * Decodes some Uint8Array to a string format.
     */
Decodes some Uint8Array to a string format.
Decodes some Uint8Array to a string format .
static decode(bytes, encoding) {
        const encodingName = this.encodingName(encoding);
        if (this.customDecoder) {
            return this.customDecoder(bytes, encodingName);
        }
        if (typeof TextDecoder === 'undefined' || this.shouldDecodeOnFallback(encodingName)) {
            return this.decodeFallback(bytes, encodingName);
        }
        return new TextDecoder(encodingName).decode(bytes);
    }
static decode ( bytes , encoding ) { const encodingName = this . encodingName ( encoding ) ; if ( this . customDecoder ) { return this . customDecoder ( bytes , encodingName ) ; } if ( typeof TextDecoder === 'undefined' || this . shouldDecodeOnFallback ( encodingName ) ) { return this . decodeFallback ( bytes , encodingName ) ; } return new TextDecoder ( encodingName ) . decode ( bytes ) ; }
Decodes some Uint8Array to a string format.
Decodes some Uint8Array to a string format .
// Increases browser support.