robotdotnet / NetworkTables

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

Store all strings as byte[]s internally #70

Open ThadHouse opened 7 years ago

ThadHouse commented 7 years ago

It's possible for UTF to corrupt string data, and if we are a server, we might end up corrupting that data between clients. Instead of storing strings as strings internally, just store them as byte[]s, and only do the UTF conversion when a string is specifically requested by the user.