Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZlibWriter

Our tool for writing IDAT chunks. Although Zlib is used for compression, we aren't compressing anything here. Basically, this writes a Zlib chunk as if it is set to a compression level of 0.

export
class

ZlibWriter

Hierarchy

  • ZlibWriter

Index

Constructors

constructor

Properties

bytesLeft

bytesLeft: number

bytesLeftInWindow

bytesLeftInWindow: number = 0

Methods

end

  • end(): void

startBlock

  • startBlock(): void

writeUint8

  • writeUint8(val: number): void

writeZlibHeader

  • writeZlibHeader(): void

Generated using TypeDoc