MCPcopy
hub / github.com/pillarjs/iconv-lite / DecodeOptions

Interface DecodeOptions

lib/index.d.ts:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15declare namespace iconv {
16 export interface DecodeOptions {
17 /**
18 * Strip the Byte Order Mark (BOM) from the input,
19 * when decoding, if the codec is BOM-aware. @default true
20 */
21 stripBOM?: boolean;
22 /** Override the default endianness for `UTF-16` and `UTF-32` decodings. */
23 defaultEncoding?: "utf16be" | "utf32be";
24 }
25
26 export interface EncodeOptions {
27 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…