Primitive type .BYTES


#1

One of the few things I am missing from java is Float.BYTES

would you consider please to add them?


#2

The value of Float.BYTES is a constant; you can easily define this constant in your own code.


#3

A fix, as yole suggested, is

val Float.Companion.BYTES: Int get() = 4

#4

You can vote for the existing request: https://youtrack.jetbrains.com/issue/KT-8247