robotdotnet / NetworkTables

FRC NetworkTables for .NET. This is all old code and should not be used anymore.
3 stars 5 forks source link

Fix string to byte[] encoding to null terminate the byte[] #74

Closed ThadHouse closed 7 years ago

ThadHouse commented 7 years ago

The code currently does not do this, which could result in passing a non null terminated string to C through P/Invoke. Also most likely move the string to UTF conversion, along with some other utility code to NativeLibraryUtilities, and maybe rename that to be a more general FRC utility library.

ThadHouse commented 7 years ago

Turns out I actually did account for this. Nevermind.