UNPKG

@technobuddha/library

Version:
11 lines (10 loc) 439 B
import { type TextEncoding } from './@types/text-encoding.ts'; import { type BinaryObject } from './binary-object.ts'; /** * Decode a UTF8 encoded string into unicode * @param input - the utf encoded string * @returns the decoded strings (which is encoded as UTF-16 by javascript) * @group Unicode * @category Encoding */ export declare function decodeText(input: BinaryObject | ArrayLike<number>, _encoding?: TextEncoding): string;