What is Nostr?
Foone🏳️‍⚧️ /
npub135x…gtu7
2024-12-03 09:19:28
in reply to nevent1q…tlw2

Foone🏳️‍⚧️ on Nostr: 99% sure it's bugged. so if you have a file like this one which has the following ...

99% sure it's bugged.
so if you have a file like this one which has the following chunks:
* NFNT 200
* NFNT 300
* NFNT 15000
* TEXT 128
* TEXT 129
* TEXT 130

You call the FindFileResource("NFNT", 128" and it'll check that the first node is an NFNT (it is) and then it'll end up matching the TEXT 128, because the chunk-type check is outside the loop

similarly FindFileResource("TEXT",130) will fail, because the first chunk isn't TEXT
Author Public Key
npub135xx0y770mwjtvlxln7jun5mxqwwctr72aafmnczglny6lpuwdlqlkgtu7