Testing showed that creating new UInt8Arrays was an expensive process, so instead of slicing the array to mark the PLTE and tRNS arrays, we instead store their offset and length.
OffsetAndLength
Generated using TypeDoc
Testing showed that creating new UInt8Arrays was an expensive process, so instead of slicing the array to mark the PLTE and tRNS arrays, we instead store their offset and length.
OffsetAndLength