public override void OnWrite(ByteObjectWriter writer, object value, Type defaultItemType) { writer.Float((float)value); }