getChunkDataFromFile
Packageβ
Installationβ
- npm
- Yarn
- pnpm
npm install @rpldy/chunked-sender
yarn add @rpldy/chunked-sender
pnpm add @rpldy/chunked-sender
Detailsβ
type getChunkDataFromFile = (file: FileLike, start: number, end: number) => Blob | undefined
Slices a File into a blob starting from byte start
and ending in byte end