We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The comments on Verifier.VerifyBuffer say:
Verifier.VerifyBuffer
When empty identifier is provided the identifier validation is skipped.
However, the condition for checking the file identifier only triggers if the provided identifier is "", which always leads to the ArgumentException:
""
ArgumentException
FlatBuffers: file identifier must be length4
Changing (identifier.Length == 0) to (identifier.Length != 0) provides the right behavior.
(identifier.Length == 0)
(identifier.Length != 0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The comments on
Verifier.VerifyBuffer
say:However, the condition for checking the file identifier only triggers if the provided identifier is
""
, which always leads to theArgumentException
:Changing
(identifier.Length == 0)
to(identifier.Length != 0)
provides the right behavior.The text was updated successfully, but these errors were encountered: