MCPcopy
hub / github.com/stackblitz/bolt.new / EncodingOpts

Interface EncodingOpts

types/istextorbinary.d.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 */
5declare module 'istextorbinary' {
6 export interface EncodingOpts {
7 /** Defaults to 24 */
8 chunkLength?: number;
9
10 /** If not provided, will check the start, beginning, and end */
11 chunkBegin?: number;
12 }
13
14 export function getEncoding(buffer: Buffer | null, opts?: EncodingOpts): 'utf8' | 'binary' | null;
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected