Skip to main content

@terascope/file-asset-apis / base/ChunkGenerator

base/ChunkGenerator

Classes

ClassDescription
ChunkGeneratorEfficiently breaks up a slice into multiple chunks. The behavior will change depending if the whole slice has be serialized at once or not.

Interfaces

InterfaceDescription
Chunk-

Variables

MAX_CHUNK_SIZE_BYTES

const MAX_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

const MiB: number

Defined in: base/ChunkGenerator.ts:23


MIN_CHUNK_SIZE_BYTES

const MIN_CHUNK_SIZE_BYTES: number

Defined in: base/ChunkGenerator.ts:29

5MiB - Minimum part size for multipart uploads with Minio