dsbenghe / Novell.Directory.Ldap.NETStandard

.NET LDAP client library for .NET Standard >= 2.0, .NET Core >=1.0, NET5/NET6/NET7/NET8 - works with any LDAP protocol compatible directory server (including Microsoft Active Directory).
MIT License
558 stars 153 forks source link

Repair binary output #261

Closed TheConstructor closed 1 month ago

TheConstructor commented 1 month ago

In Java byte is signed, but in C# byte is unsigned

TheConstructor commented 1 month ago

Tested the fix using .NET Framework 4.6.1 and .NET 3.1 today, and realized I missed the GetByteCount-method.