frontend/.pnpm-store/v3/files/5e/1946b048ee968ff38fdbf2bf530f94305efd94923ebc6ed6dc83a68bc2bf1bc290495307977baa3b0e65656a66b81c3a42f652903cb3fad0845f01ff78b3b9

10 lines
379 B
Plaintext

/// <reference types="node" />
import { ParseRuntime } from "./ParseRuntime";
/**
* For each data chunk coming to parser:
* 1. append the data to the buffer that is left from last chunk
* 2. check if utf8 chars being split, if does, stripe the bytes and add to left buffer.
* 3. stripBom
*/
export declare function prepareData(chunk: Buffer, runtime: ParseRuntime): string;