Skip to content

Conversation

@mikeebowen
Copy link
Collaborator

twsouthwick
twsouthwick previously approved these changes Nov 4, 2025
Comment on lines 199 to 200
byte[] oleSignature = { 0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1 };
if (read == 8 && header.SequenceEqual(oleSignature))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
byte[] oleSignature = { 0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1 };
if (read == 8 && header.SequenceEqual(oleSignature))
if (read == 8 && header.SequenceEqual([ 0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1 ]))

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a big deal and may make readability worse, but on some platforms it may prevent an allocation (that is probably not a big deal at all)

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Test Results

    56 files   -   3      56 suites   - 3   1h 1m 24s ⏱️ -30s
 2 067 tests +  7   2 064 ✅ +  7   3 💤 ±0  0 ❌ ±0 
32 224 runs   - 286  32 188 ✅  - 286  36 💤 ±0  0 ❌ ±0 

Results for commit 6cc3591. ± Comparison against base commit ddc3e5f.

♻️ This comment has been updated with latest results.

@mikeebowen mikeebowen marked this pull request as draft November 6, 2025 23:56
@mikeebowen mikeebowen marked this pull request as ready for review November 8, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read sensitivity labelled documents

3 participants