Skip to content

Latest commit

 

History

History
95 lines (55 loc) · 2.72 KB

sparseStream.md

File metadata and controls

95 lines (55 loc) · 2.72 KB

etcher-sdk / sparseStream

Namespace: sparseStream

Table of contents

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

ChecksumType

Ƭ ChecksumType: "crc32" | "sha1" | "sha256" | "xxhash3"

Defined in

lib/sparse-stream/shared.ts:25

Variables

ProgressSparseWriteStream

Const ProgressSparseWriteStream: (...args: any[]) => __class<typeof SparseWriteStream> & typeof SparseWriteStream

Defined in

lib/sparse-stream/sparse-write-stream.ts:137

Functions

blocksLength

blocksLength(blocks): number

Parameters

Name Type
blocks BlocksWithChecksum[]

Returns

number

Defined in

lib/sparse-stream/shared.ts:117


createSparseReaderStateIterator

createSparseReaderStateIterator(blocks, verify, generateChecksums): Iterator<SparseReaderState>

Parameters

Name Type
blocks BlocksWithChecksum[]
verify boolean
generateChecksums boolean

Returns

Iterator<SparseReaderState>

Defined in

lib/sparse-stream/shared.ts:75