Variable FileReaderOptionsSchemaConst
FileReaderOptionsSchema: Type<
(
In: {
bufferSize?: number;
encoding?: "utf8" | "binary" | "ascii";
maxFileSize?: number;
timeout?: number;
concurrent?: boolean;
signal?: unknown;
autoDecompress?: boolean;
compressionFormat?: "gzip" | "zstd" | "none";
decompressionOptions?: unknown;
},
) => Out<
{
bufferSize?: number;
encoding?: "utf8"
| "binary"
| "ascii";
maxFileSize?: number;
timeout?: number;
concurrent?: boolean;
signal?: unknown;
autoDecompress?: boolean;
compressionFormat?: "gzip" | "zstd" | "none";
decompressionOptions?: unknown;
},
>,
{},
> = ...
File reader options validation schema Ensures all options are within safe and reasonable bounds