mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Targa Image Extractor
This commit is contained in:
parent
dbcd670ca8
commit
4251089687
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user