Skip to content

Fix encoder file opening on Windows#13

Merged
awann-4ai merged 5 commits into
Fastcode:mainfrom
awann-4ai:wann/fix_encoder_windows
Apr 11, 2024
Merged

Fix encoder file opening on Windows#13
awann-4ai merged 5 commits into
Fastcode:mainfrom
awann-4ai:wann/fix_encoder_windows

Conversation

@awann-4ai
Copy link
Copy Markdown
Collaborator

@awann-4ai awann-4ai commented Apr 11, 2024

Adds flags to open encoder output file and index file in binary mode to fix a Windows issue.

When running on Windows, any carriage return bytes in an encoded protobuf message were being converted to windows carriage returns, resulting in invalid protobuf messages that couldn't be decoded.

@awann-4ai awann-4ai merged commit cfbcfc0 into Fastcode:main Apr 11, 2024
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.

2 participants