Float package:avro

Read Int (32 bits) and cast it to Float
Read Long (64 bits) and cast it to Float (Rule: long is promotable to float or double)
Read Float (64 bits) and cast it to Double (Rule: float is promotable to float or double)
How to decode a value of target type Float. This type controls how many bits are needed to be read from the encoded bytestring. The number of bits can be different depending on differences between reader and writer schemas. The rules are described in https://avro.apache.org/docs/current/spec.html#Schema+Resolution
Read Float and use as is