diff --git a/src/Types/Encoder.cs b/src/Types/Encoder.cs index a8bda652..6e0c852f 100644 --- a/src/Types/Encoder.cs +++ b/src/Types/Encoder.cs @@ -156,6 +156,7 @@ internal static void Initialize() // 10: float new Serializer() { + Type = typeof(float), Encoder = delegate(ByteBuffer b, object o, bool s) { WriteFloat(b, (float)o); }, Decoder = delegate(ByteBuffer b, byte c) { return ReadFloat(b, c); } },