Binary pattern for float and integers

I am trying to get the binary representation of a float and integer.
e.g.

1024 = <<4,0>>
4.5 = <<?>>

AFAIR <<4.5::float>>. But this is from memory, can’t test right now.

and for the integer ?

Docs.