2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-23 19:53:26 +00:00

Targa Image Extractor

This commit is contained in:
n1073645
2020-03-17 08:24:35 +00:00
parent dbcd670ca8
commit 4251089687

View File

@@ -3096,7 +3096,8 @@ export function extractTARGA(bytes, offset) {
/** /**
* Move's backwards in the stream until it meet bytes that are the same as the amount of bytes moved. * Move's backwards in the stream until it meet bytes that are the same as the amount of bytes moved.
* *
* @param maxSize * @param {number} sizeOfSize
* @param {number} maxSize
*/ */
function moveBackwardsUntilSize(maxSize, sizeOfSize) { function moveBackwardsUntilSize(maxSize, sizeOfSize) {
for (let i = 0; i < maxSize; i++) { for (let i = 0; i < maxSize; i++) {