public void Write(ref ProtoWriter.State state, object value)
 {
     state.WriteSingle((float)value);
 }