Primitive type .BYTES


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

would you consider please to add them?


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


A fix, as yole suggested, is

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


You can vote for the existing request: