Skip to content

@pumpkin-plugins/bedrock-addon-manager API / packs/zip / ByteSource

Type Alias: ByteSource ​

ByteSource = Pick<RandomAccessFile, "read" | "size">

Defined in: packages/bedrock-addon-manager/src/packs/zip.ts:5

Something a zip archive can be read from at arbitrary offsets: an open file, or bytes in memory.

pumpkin-plugins documentation