mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Tidied up ICO extractor
This commit is contained in:
parent
be59efbd6b
commit
b8afbf7458
1 changed files with 1 additions and 1 deletions
|
@ -2942,7 +2942,7 @@ export function extractBMP(bytes, offset) {
|
||||||
export function extractICO(bytes, offset) {
|
export function extractICO(bytes, offset) {
|
||||||
const stream = new Stream(bytes.slice(offset));
|
const stream = new Stream(bytes.slice(offset));
|
||||||
|
|
||||||
// Move to number of file there are.
|
// Move to number of files there are.
|
||||||
stream.moveTo(4);
|
stream.moveTo(4);
|
||||||
|
|
||||||
// Read the number of files stored in the ICO
|
// Read the number of files stored in the ICO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue