Trying to read from a binary file

New to c#, trying to validate a username and password from a binary file, but getting the issue 'Too many bytes in what should have been a 7-bit encoded integer. Not too familiar with binary readers and writers, can anyone help?
image.png
image.png
Was this page helpful?