Comments for OLE2 extractor.

This commit is contained in:
n1073645 2019-11-21 11:23:28 +00:00
parent 25ca8d85a6
commit 7386c145ef
1 changed files with 2 additions and 0 deletions

View File

@ -2994,6 +2994,8 @@ export function extractOLE2(bytes, offset) {
// Attempt to determine what directory entry it is.
for (const element of entries) {
// If the byte pattern matches.
if (stream.getBytes(element[1]).join("") === element[0].join("")) {
stream.moveBackwardsBy(element[1]);
found = true;