StandardNetworkLibrary
StandardNetworkLibrary copied to clipboard
MessagePackSerializer Hidden
I was trying to use the MessagePack backend but noticed that the code has the visibility labeled internal.
Is this because it is incomplete or is there another way to access the features of this library through messagepack?
Thank you for pointing this out. Haven't noticed it since I've never used anything other than Protobuf, the rest of the impl. was for benchmarks (didn't use MessagePack due to high bandwith consumption). The code is also written long time ago.
Will fix and update it as soon as possible.
As a workaround you can make your own with the provided serializer on the library, as you noticed all implementation is on the base class and which i used extensively with the Protobuf.
let me know if you want some clarifications.
Sick! Thanks
[ Small minor detail ] I noticed that the namespace names / package names are kind of different Took me a few minutes to figure out where the additional packages for a particular serializer was
Protobuf.Network.Library vs Standard.Network.Library for instance
Might make this library more accessible if they allow follow the same root namespace :)
NetworkLibrary assembly is intended to be serializer agnostic and has no dependency.
I seperated the rest to different assemblies because I didnt want unnecessary dependencies for serializers you dont use. About naming I dont remember why but probably due to namespace collisions or laziness i did it this way. it was years ago so.. I should do some cleanup at some point.
In any case if you want, follow the ISerializer contract you can also make your own with any serializer by using base NetworkLibrary assembly.