Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
9 lines
399 B
Plaintext
9 lines
399 B
Plaintext
export type SupportedEncoding = "utf-8" | "utf8" | "utf-16le" | "ascii" | "latin1" | "iso-8859-1" | "windows-1252";
|
|
/**
|
|
* Decode text from binary data
|
|
* @param bytes Binary data
|
|
* @param encoding Encoding
|
|
*/
|
|
export declare function textDecode(bytes: Uint8Array, encoding?: SupportedEncoding): string;
|
|
export declare function textEncode(input?: string, encoding?: SupportedEncoding): Uint8Array;
|