if we define a writeRawFloat(float value) we can use a type specific API