| 4 | */ |
| 5 | declare 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected