@terascope/file-asset-apis / base/ChunkGenerator
base/ChunkGenerator
Classes
| Class | Description | 
|---|---|
| ChunkGenerator | Efficiently breaks up a slice into multiple chunks. The behavior will change depending if the whole slice has be serialized at once or not. | 
Interfaces
| Interface | Description | 
|---|---|
| Chunk | - | 
Variables
MAX_CHUNK_SIZE_BYTES
constMAX_CHUNK_SIZE_BYTES:number
Defined in: base/ChunkGenerator.ts:26
100 MiB - Used for determine how big each chunk of a single file should be
MiB
constMiB:number
Defined in: base/ChunkGenerator.ts:23
MIN_CHUNK_SIZE_BYTES
constMIN_CHUNK_SIZE_BYTES:number
Defined in: base/ChunkGenerator.ts:29
5MiB - Minimum part size for multipart uploads with Minio