Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileZip

Hierarchy

Index

Constructors

constructor

  • new FileZip(pathOrUrl: string): FileZip

Properties

Optional eocd

eocd: EOCD

EOCD

Optional eocd64

eocd64: EOCD64

EOCD64

Optional eocd64Locator

eocd64Locator: EOCD64Locator

EOCD64 Locator

files

files: Map<string, CentralDirectoryEntry> = new Map()

Central Directory Entries

Protected path

path: string

Path/URL of Zip file

Protected size

size: number = -1

Zip size

Methods

get

Protected getCentralDir

  • getCentralDir(): Promise<void>

Protected getEocd

  • getEocd(): Promise<void>

init

  • init(): Promise<void>

partialGet

  • partialGet(start: number | bigint, end: number | bigint): Promise<Buffer>

preInit

  • preInit(): Promise<void>

Generated using TypeDoc