Creates an instance of ArrayBufferWalker.
either an existing ArrayBuffer or the length of a new array you want to use.
The current index our walker is sat at. Can be modified.
ADLER32 is used in our ZLib blocks, but can span across multiple blocks. So sometimes we need to pause it in order to start a new block.
Move around the array without writing or reading a value.
Similar to .startCRC(), this marks the start of a block we want to calculate the ADLER32 checksum of.
Mark the beginning of an area we want to calculate the CRC for.
Similar to .writeCRC(), this marks the end of an ADLER32 checksummed block, and writes the Uint32 checksum value to the ArrayBuffer.
After using .startCRC() to mark the start of a block, use this to mark the end of the block and write the UInt32 CRC value.
Generated using TypeDoc
A class that "walks" through an ArrayBuffer, either reading or writing values as it goes. Intended as a less performance-draining alternative to a DataView.
ArrayBufferWalker